From d1bf0c399be45331ce5a6a31f846816bf7f9c02b Mon Sep 17 00:00:00 2001 From: Greg Ydz Date: Thu, 2 Apr 2020 15:11:42 +0200 Subject: [PATCH] $container is no longer available in Fixture class Since ee5eb61, Doctrine\Bundle\FixturesBundle\Fixture does not implement ContainerAwareInterface anymore and thus, $container is not part of this class anymore. See https://github.com/doctrine/DoctrineFixturesBundle/commit/ee5eb61#diff-8490d6a88059c82df2c98e6f2d0918d2 --- Resources/doc/index.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Resources/doc/index.rst b/Resources/doc/index.rst index 06bcb901..bee4ed7d 100644 --- a/Resources/doc/index.rst +++ b/Resources/doc/index.rst @@ -132,10 +132,6 @@ injection:: $manager->flush(); } -You can also access the container via the ``$this->container`` property. -But remember that not *all* services (i.e. private services) can be accessed -directly via the container. - .. _multiple-files: Splitting Fixtures into Separate Files