1 | <?php |
||
22 | class LoadRoleData implements FixtureInterface, ContainerAwareInterface, OrderedFixtureInterface |
||
23 | { |
||
24 | /** |
||
25 | * System container. |
||
26 | * |
||
27 | * @var ContainerInterface |
||
28 | */ |
||
29 | private $container; |
||
30 | |||
31 | /** |
||
32 | * Entity manager. |
||
33 | * |
||
34 | * @var ObjectManager |
||
35 | */ |
||
36 | private $manager; |
||
37 | |||
38 | /** |
||
39 | * Set container. |
||
40 | * |
||
41 | * {@inheritDoc} |
||
42 | * @param ContainerInterface $container [description] |
||
43 | */ |
||
44 | 49 | public function setContainer(ContainerInterface $container = null) |
|
48 | |||
49 | /** |
||
50 | * Load fixtures into db. |
||
51 | * |
||
52 | * @param ObjectManager $manager |
||
53 | * {@inheritDoc} |
||
54 | */ |
||
55 | 49 | public function load(ObjectManager $manager) |
|
77 | |||
78 | /** |
||
79 | * Add resources into role object. |
||
80 | * |
||
81 | * @param Role $role [description] |
||
82 | * @param boolean $admin [description] |
||
83 | */ |
||
84 | 49 | private function addResources(Role $role, $admin = true) |
|
99 | |||
100 | /** |
||
101 | * Get fixture order. |
||
102 | * |
||
103 | * {@inheritdoc} |
||
104 | * |
||
105 | * @return [type] [description] |
||
|
|||
106 | */ |
||
107 | 49 | public function getOrder() |
|
111 | } |
||
112 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.