interface InstantiatorInterface

Lazy proxy instantiator, capable of instantiating a proxy given a container, the service definitions and a callback that produces the real service instance.

@author Marco Pivetta <ocramius@gmail.com>

Hierarchy

Expanded class hierarchy of InstantiatorInterface

All classes that implement InstantiatorInterface

1 file declares its use of InstantiatorInterface
ContainerBuilder.php in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/LazyProxy/Instantiator/InstantiatorInterface.php, line 23

Namespace

Symfony\Component\DependencyInjection\LazyProxy\Instantiator
View source
interface InstantiatorInterface {

  /**
   * Instantiates a proxy object.
   *
   * @param ContainerInterface $container        the container from which the service is being requested
   * @param Definition         $definition       the definition of the requested service
   * @param string             $id               identifier of the requested service
   * @param callable           $realInstantiator zero-argument callback that is capable of producing the real
   *                                             service instance
   *
   * @return object
   */
  public function instantiateProxy(ContainerInterface $container, Definition $definition, $id, $realInstantiator);

}

Members

Namesort descending Modifiers Type Description Overrides
InstantiatorInterface::instantiateProxy public function Instantiates a proxy object. 1