Null dumper, negates any proxy code generation for any given service definition.
@author Marco Pivetta <ocramius@gmail.com>
Expanded class hierarchy of NullDumper
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 '';
}
}
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:: |