| 1 | <?php |
||
| 5 | final class ReflectionConstructorFactory implements EntityFactoryInterface |
||
| 6 | { |
||
| 7 | /** @var string */ |
||
| 8 | private $className; |
||
| 9 | /** @var array */ |
||
| 10 | private $args = []; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * ReflectionConstructorFactory constructor. |
||
| 14 | * |
||
| 15 | * @param string $className |
||
| 16 | * @param array $args |
||
| 17 | */ |
||
| 18 | public function __construct($className, array $args = []) |
||
| 23 | |||
| 24 | /** {@inheritdoc} */ |
||
| 25 | public function createEntity($data) |
||
| 31 | } |
||
| 32 |