You are here

interface InstantiatorInterface in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php \Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface
  2. 8 vendor/doctrine/instantiator/src/Doctrine/Instantiator/InstantiatorInterface.php \Doctrine\Instantiator\InstantiatorInterface
Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php \Symfony\Component\DependencyInjection\LazyProxy\Instantiator\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 vendor/symfony/dependency-injection/ContainerBuilder.php

File

vendor/symfony/dependency-injection/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