1 | <?php |
||
21 | class OrganizationFactory implements OrganizationFactoryInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var OrganizationFactoryInterface |
||
25 | */ |
||
26 | protected $decoratedFactory; |
||
27 | |||
28 | /** |
||
29 | * @var ObjectManager |
||
30 | */ |
||
31 | protected $documentManager; |
||
32 | |||
33 | /** |
||
34 | * @var string|null |
||
35 | */ |
||
36 | protected $rootPath; |
||
37 | |||
38 | /** |
||
39 | * OrganizationFactory constructor. |
||
40 | * |
||
41 | * @param OrganizationFactoryInterface $decoratedFactory |
||
42 | * @param ObjectManager $documentManager |
||
43 | * @param null $rootPath |
||
44 | */ |
||
45 | public function __construct( |
||
54 | |||
55 | /** |
||
56 | * {@inheritdoc} |
||
57 | */ |
||
58 | public function create() |
||
62 | |||
63 | /** |
||
64 | * {@inheritdoc} |
||
65 | */ |
||
66 | public function createWithCode() |
||
76 | } |
||
77 |