| 1 | <?php |
||
| 12 | class EntityFactory implements EntityFactoryInterface |
||
| 13 | { |
||
| 14 | const MODEL_INTERFACE = 'Ajir\RabbitMqSqlBundle\Model\EntityInterface'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var ReflectionClass |
||
| 18 | */ |
||
| 19 | protected $class; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var RelationFactoryInterface |
||
| 23 | */ |
||
| 24 | protected $relationFactory; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $classname |
||
| 28 | * |
||
| 29 | * @throws InvalidArgumentException |
||
| 30 | */ |
||
| 31 | 4 | public function __construct($classname) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritDoc} |
||
| 41 | */ |
||
| 42 | 2 | public function create(array $data) |
|
| 46 | } |
||
| 47 |