mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-05 19:00:49 +00:00
21 lines
378 B
PHP
21 lines
378 B
PHP
<?php declare (strict_types=1);
|
|
|
|
class ClassWithInjects
|
|
{
|
|
/**
|
|
* @var stdClass
|
|
*/
|
|
private $property;
|
|
|
|
/**
|
|
* @var DateTimeInterface
|
|
*/
|
|
private $otherProperty;
|
|
|
|
public function __construct(stdClass $property, DateTimeInterface $otherProperty)
|
|
{
|
|
$this->property = $property;
|
|
$this->otherProperty = $otherProperty;
|
|
}
|
|
}
|