rector/tests/NodeVisitor/DependencyInjection/NamedServicesToConstructorRector/wrong/wrong2.php.inc
TomasVotruba 70bb18f099 renaming
2017-08-08 02:30:29 +02:00

10 lines
190 B
PHP

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