| 1 | <?php |
||
| 25 | abstract class AbstractLoader implements ContainerAwareInterface, LoaderInterface |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var ContainerInterface |
||
| 29 | */ |
||
| 30 | protected $container; |
||
| 31 | |||
| 32 | public function __construct() |
||
| 39 | 108 | ||
| 40 | 108 | ||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | * |
||
| 44 | * Use Symfony\Component\DependencyInjection\ContainerAwareTrait instead when dropping SF 2.3 and PHP 5.3 support. |
||
| 45 | */ |
||
| 46 | public function setContainer(ContainerInterface $container = null) |
||
| 50 | |||
| 51 | 6 | /** |
|
| 52 | * Loads the fixtures files. |
||
| 53 | * |
||
| 54 | * @param ObjectManager $objectManager |
||
| 55 | * |
||
| 56 | * @return \object[] Persisted objects |
||
| 57 | */ |
||
| 58 | public function load(ObjectManager $objectManager) |
||
| 61 | } |
||
| 62 |
If you suppress an error, we recommend checking for the error condition explicitly: