Quentin Pleplé

Results 6 issues of Quentin Pleplé

It will allow to have helpers such as ``` php trait EntityManagerTrait { /** @Inject("doctrine.orm.entity_manager") */ public $em; public function repo($entity) { return $this->em->getRepository('AcmeBundle:' . $entity); } } ``` that...

Feature idea. It would be useful to add support for [Symfony2 lazy services](http://symfony.com/doc/current/components/dependency_injection/lazy_services.html) to have: ``` php @Service("my_service", lazy=true) ``` Currently the only way to load a service lazily is...

I feel like we can't use `@Observe` in controllers. Here is my controller: ``` php class DefaultController extends Controller { /** @DI\Inject */ private $event_dispatcher; /** * @Route("/toy/{name}") * @Template()...

Having just `Facebook` validation group ignores all rules not `Facebook`. I think the most common use case is when we want: - all validation rules to apply to Facebook users...

in progress