| 1 | <?php |
||
| 12 | class StringToObjectConverter |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var ObjectRepository |
||
| 16 | */ |
||
| 17 | private $repository; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $property; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param ObjectRepository $repository |
||
| 26 | * @param string $property |
||
| 27 | */ |
||
| 28 | 1 | public function __construct(ObjectRepository $repository, $property) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | 1 | public function __invoke($input) |
|
| 43 | } |
||
| 44 |