Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\DependencyInjection\LazyProxy\PhpDumper; Chris@0: Chris@0: use Symfony\Component\DependencyInjection\Definition; Chris@0: Chris@0: /** Chris@0: * Null dumper, negates any proxy code generation for any given service definition. Chris@0: * Chris@0: * @author Marco Pivetta Chris@14: * Chris@14: * @final since version 3.3 Chris@0: */ Chris@0: class NullDumper implements DumperInterface Chris@0: { Chris@0: /** Chris@0: * {@inheritdoc} Chris@0: */ Chris@0: public function isProxyCandidate(Definition $definition) Chris@0: { Chris@0: return false; Chris@0: } Chris@0: Chris@0: /** Chris@0: * {@inheritdoc} Chris@0: */ Chris@14: public function getProxyFactoryCode(Definition $definition, $id, $factoryCode = null) Chris@0: { Chris@0: return ''; Chris@0: } Chris@0: Chris@0: /** Chris@0: * {@inheritdoc} Chris@0: */ Chris@0: public function getProxyCode(Definition $definition) Chris@0: { Chris@0: return ''; Chris@0: } Chris@0: }