ContainerAwareLoader

class ContainerAwareLoader extends Loader Doctrine data fixtures loader that injects the service container into fixture objects that implement ContainerAwareInterface. Note: Use of this class requires the Doctrine data fixtures extension, which is a suggested dependency for Symfony. Methods __construct(ContainerInterface $container) Constructor. addFixture(FixtureInterface $fixture) {@inheritdoc} Details __construct(ContainerInterface $container)

ContainerAwareInterface

interface ContainerAwareInterface ContainerAwareInterface should be implemented by classes that depends on a Container. Methods setContainer(ContainerInterface $container = null) Sets the container. Details setContainer(ContainerInterface $container = null) Sets the container. Parameters ContainerInterface $container A ContainerInterface instance or null

ContainerAwareHttpKernel deprecated

class ContainerAwareHttpKernel extends HttpKernel deprecated since version 2.7, to be removed in 3.0. Adds a managed request scope. Methods __construct(EventDispatcherInterface $dispatcher, ContainerInterface $container, ControllerResolverInterface $controllerResolver, RequestStack $requestStack = null, bool $triggerDeprecation = true) Constructor. Response handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) Handles a Request to convert

ContainerAwareHIncludeFragmentRenderer deprecated

class ContainerAwareHIncludeFragmentRenderer extends HIncludeFragmentRenderer deprecated since version 2.7, to be removed in 3.0. Use Symfony\Bundle\FrameworkBundle\Fragment\HIncludeFragmentRenderer instead. Implements the Hinclude rendering strategy. Methods setFragmentPath(string $path) Sets the fragment path that triggers the fragment listener. from RoutableFragmentRenderer __construct(ContainerInterface $container, UriSigner $signer = null, string $globalDefaultTemplate = nul

ContainerAwareEventManager::removeEventListener()

removeEventListener(string|array $events, object|string $listener) Removes an event listener from the specified events. Parameters string|array $events object|string $listener

ContainerAwareEventManager::hasListeners()

bool hasListeners(string $event) Checks whether an event has any registered listeners. Parameters string $event Return Value bool TRUE if the specified event has any listeners, FALSE otherwise

ContainerAwareEventManager::getListeners()

array getListeners(string $event = null) Gets the listeners of a specific event or all listeners. Parameters string $event The name of the event Return Value array The event listeners for the specified event, or all event listeners

ContainerAwareEventManager::dispatchEvent()

bool dispatchEvent(string $eventName, EventArgs $eventArgs = null) Dispatches an event to all registered listeners. Parameters string $eventName The name of the event to dispatch. The name of the event is the name of the method that is invoked on listeners. EventArgs $eventArgs The event arguments to pass to the event handlers/listeners. If not supplied, the single empty EventArgs instance is used. Return Value bool

ContainerAwareEventManager::addEventListener()

addEventListener(string|array $events, object|string $listener) Adds an event listener that listens on the specified events. Parameters string|array $events The event(s) to listen on object|string $listener The listener object Exceptions RuntimeException

ContainerAwareEventManager

class ContainerAwareEventManager extends EventManager Allows lazy loading of listener services. Methods __construct(ContainerInterface $container) bool dispatchEvent(string $eventName, EventArgs $eventArgs = null) Dispatches an event to all registered listeners. array getListeners(string $event = null) Gets the listeners of a specific event or all listeners. bool hasListeners(string $event) Checks whether an event has any registered listeners. addEventListener(string