mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-06 03:10:50 +00:00
11 lines
248 B
PHP
11 lines
248 B
PHP
<?php declare (strict_types=1);
|
|
|
|
class ClassWithNamedService implements ContainerAwareInterface
|
|
{
|
|
public function render()
|
|
{
|
|
$someService = $this->get('some.class');
|
|
$someResult = $this->get('some.class')->callMe();
|
|
}
|
|
}
|