| 1 | <?php |
||
| 20 | class OrganizationFactory implements OrganizationFactoryInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var GeneratorInterface |
||
| 24 | */ |
||
| 25 | protected $generator; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var FactoryInterface |
||
| 29 | */ |
||
| 30 | protected $factory; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * OrganizationFactory constructor. |
||
| 34 | * |
||
| 35 | * @param FactoryInterface $factory |
||
| 36 | * @param GeneratorInterface $generator |
||
| 37 | */ |
||
| 38 | public function __construct(FactoryInterface $factory, GeneratorInterface $generator) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function create() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function createWithCode() |
||
| 63 | } |
||
| 64 |