Php Symfony2 Getdatetime Returns Null Stack Overflow

Php Symfony2 Getdatetime Returns Null Stack Overflow