You are here

interface DumperInterface in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/translation/Dumper/DumperInterface.php \Symfony\Component\Translation\Dumper\DumperInterface
  2. 8.0 vendor/symfony/dependency-injection/Dumper/DumperInterface.php \Symfony\Component\DependencyInjection\Dumper\DumperInterface
  3. 8.0 vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface
Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface

Lazy proxy dumper capable of generating the instantiation logic PHP code for proxied services.

@author Marco Pivetta <ocramius@gmail.com>

Hierarchy

  • interface \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface

Expanded class hierarchy of DumperInterface

All classes that implement DumperInterface

1 file declares its use of DumperInterface
PhpDumper.php in vendor/symfony/dependency-injection/Dumper/PhpDumper.php

File

vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php, line 21

Namespace

Symfony\Component\DependencyInjection\LazyProxy\PhpDumper
View source
interface DumperInterface {

  /**
   * Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
   *
   * @param Definition $definition
   *
   * @return bool
   */
  public function isProxyCandidate(Definition $definition);

  /**
   * Generates the code to be used to instantiate a proxy in the dumped factory code.
   *
   * @param Definition $definition
   * @param string     $id         service identifier
   *
   * @return string
   */
  public function getProxyFactoryCode(Definition $definition, $id);

  /**
   * Generates the code for the lazy proxy.
   *
   * @param Definition $definition
   *
   * @return string
   */
  public function getProxyCode(Definition $definition);

}

Members

Namesort descending Modifiers Type Description Overrides
DumperInterface::getProxyCode public function Generates the code for the lazy proxy. 1
DumperInterface::getProxyFactoryCode public function Generates the code to be used to instantiate a proxy in the dumped factory code. 1
DumperInterface::isProxyCandidate public function Inspects whether the given definitions should produce proxy instantiation logic in the dumped container. 1