| 1 | <?php |
||
| 22 | class LoadResourcesData implements FixtureInterface, ContainerAwareInterface, OrderedFixtureInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * System container. |
||
| 26 | * |
||
| 27 | * @var ContainerInterface |
||
| 28 | */ |
||
| 29 | private $container; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Set container |
||
| 33 | * |
||
| 34 | * {@inheritDoc} |
||
| 35 | * |
||
| 36 | * @param ContainerInterface $container [description] |
||
| 37 | */ |
||
| 38 | 49 | public function setContainer(ContainerInterface $container = null) |
|
| 42 | |||
| 43 | /** |
||
| 44 | * Load fixtures into db. |
||
| 45 | * |
||
| 46 | * {@inheritDoc} |
||
| 47 | * |
||
| 48 | * @param ObjectManager $manager |
||
| 49 | */ |
||
| 50 | 49 | public function load(ObjectManager $manager) |
|
| 63 | |||
| 64 | /** |
||
| 65 | * Get order of fixture. |
||
| 66 | * |
||
| 67 | * {@inheritdoc} |
||
| 68 | */ |
||
| 69 | 49 | public function getOrder() |
|
| 73 | } |
||
| 74 |