ContainerAwareLoader
class ContainerAwareLoader extends Loader
Doctrine данных фикстур загрузчик, который вводит контейнер сервисов в объекты фикстур, которые реализуют ContainerAwareInterface.
Примечание: Использование этого класса требует расширения Doctrine данных фикстур, которое является рекомендуемой зависимостью для Symfony.
Методы
| __construct(ContainerInterface $container) Конструктор. | ||
| addFixture(FixtureInterface $fixture) {@inheritdoc} |
Подробности
__construct(ContainerInterface $container)
Конструктор.
Параметры
| ContainerInterface | $container | Экземпляр ContainerInterface |
addFixture(FixtureInterface $fixture)
{@inheritdoc}
Параметры
| FixtureInterface | $fixture |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Bridge/Doctrine/DataFixtures/ContainerAwareLoader.html