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