cute, so you're a hotshot programmer
now what does this
AbstractSingletonProxyFactoryBean
actually do?
don't use design patterns just because you can
don't name your functions after generic design patterns
we're not programming java here
It's like capabilities checking for data.
don't overthink, build what you need now
tr -cs A-Za-z '\n' |
tr A-Z a-z |
sort |
uniq -c |
sort -rn |
sed ${1} q
re-use proven good code
build for re-use
build for change
class BlogController extends Controller { /** * @Route("/blog/{slug}", name="blog_show") */ public function showAction($slug) {
$f3->route('GET /brew/@count',
function($f3) {
echo $f3->get('PARAMS.count').' bottles of beer on the wall.';
}
);