11/09/2014 - DOCTRINE, SYMFONY
We have been investing plenty of personal time and energy for many years to share our knowledge with you all. However, we now need your help to keep this blog running. All you have to do is just click one of the adverts on the site, otherwise it will sadly be taken down due to hosting etc. costs. Thank you.
This is a "bad practise" but if you want to know, it is shown below.
public function sayHello()
$container = $kernel->getContainer();