rector/tests/NodeVisitor/DependencyInjection/NamedServicesToConstructorReconstructor/wrong/wrong2.php.inc

10 lines
190 B
PHP

<?php declare (strict_types=1);
class ClassWithNamedService implements ContainerAwareInterface
{
public function render()
{
$someService = $this->get('some.class');
}
}