mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
18 lines
342 B
PHP
18 lines
342 B
PHP
<?php declare (strict_types=1);
|
|
|
|
class ClassWithNamedService implements ContainerAwareInterface
|
|
{
|
|
/**
|
|
* @var stdClass
|
|
*/
|
|
private $stdClass;
|
|
public function __construct(stdClass $stdClass)
|
|
{
|
|
$this->stdClass = $stdClass;
|
|
}
|
|
public function render()
|
|
{
|
|
$someService = $this->stdClass;
|
|
}
|
|
}
|