src/Kunstmaan/NodeBundle/Helper/Services/ACLPermissionCreatorService.php
public function setContainer(ContainerInterface $container = null)
    {
        $this->setAclProvider($container->get('security.acl.provider'));
        $this->setObjectIdentityRetrievalStrategy($container->get('security.acl.object_identity_retrieval_strategy'));
    }
public function setContainer(ContainerInterface $container = null)
    {
        $this->setAclProvider($container->get('security.acl.provider'));
        $this->setObjectIdentityRetrievalStrategy($container->get('security.acl.object_identity_retrieval_strategy'));
    }
public function setContainer ( ContainerInterface $ container = null ) { $ this -> setAclProvider ( $ container -> get ( 'security.acl.provider' ) ) ; $ this -> setObjectIdentityRetrievalStrategy ( $ container -> get ( 'security.acl.object_identity_retrieval_strategy' ) ) ; }
Sets the Container. This is still here for backwards compatibility.
The ContainerAwareInterface has been removed so the container won't be injected automatically.
This function is just there for code that calls it manually.

@param ContainerInterface $container a ContainerInterface instance

@api
Sets the Container . This is still here for backwards compatibility . The ContainerAwareInterface has been removed so the container won t be injected automatically . This function is just there for code that calls it manually .