class NullDumper in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper
Null dumper, negates any proxy code generation for any given service definition.
@author Marco Pivetta <ocramius@gmail.com>
Hierarchy
- class \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper implements DumperInterface
Expanded class hierarchy of NullDumper
2 files declare their use of NullDumper
- NullDumperTest.php in vendor/
symfony/ dependency-injection/ Tests/ LazyProxy/ PhpDumper/ NullDumperTest.php - PhpDumper.php in vendor/
symfony/ dependency-injection/ Dumper/ PhpDumper.php
File
- vendor/
symfony/ dependency-injection/ LazyProxy/ PhpDumper/ NullDumper.php, line 21
Namespace
Symfony\Component\DependencyInjection\LazyProxy\PhpDumperView source
class NullDumper implements DumperInterface {
/**
* {@inheritdoc}
*/
public function isProxyCandidate(Definition $definition) {
return false;
}
/**
* {@inheritdoc}
*/
public function getProxyFactoryCode(Definition $definition, $id) {
return '';
}
/**
* {@inheritdoc}
*/
public function getProxyCode(Definition $definition) {
return '';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NullDumper:: |
public | function |
Generates the code for the lazy proxy. Overrides DumperInterface:: |
|
NullDumper:: |
public | function |
Generates the code to be used to instantiate a proxy in the dumped factory code. Overrides DumperInterface:: |
|
NullDumper:: |
public | function |
Inspects whether the given definitions should produce proxy instantiation logic in the dumped container. Overrides DumperInterface:: |