class NullDumper in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/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 modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Tests/ LazyProxy/ PhpDumper/ NullDumperTest.php - PhpDumper.php in modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Dumper/ PhpDumper.php
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ 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:: |