title: Symfony Doctrine can't find fixtures to load
body: <p>I starting with Symfony (3.4) and I have problem with load fixture.<br>
  When I execute <code>php bin/console doctrine:fixtures:load</code> then I get message:</p>
  
  <pre>
  In LoadDataFixturesDoctrineCommand.php line 95:
    Could not find any fixture services to load.
  </pre>
  
  <p>There is my code:</p>
  
  <p>~/src/AppBundle/DataFixtures/ORM/LoadUserData.php</p>
  
  <pre><code>namespace AppBundle\DataFixtures\ORM;
  
  use Doctrine\Common\DataFixtures\FixtureInterface;
  use Doctrine\Common\Persistence\ObjectManager;
  use Symfony\Component\DependencyInjection\ContainerAwareInterface;
  use Symfony\Component\DependencyInjection\ContainerInterface;
  
  class LoadUserData implements FixtureInterface, ContainerAwareInterface {
  
      private $container;
  
      /**
       * Load data fixtures with the passed EntityManager
       *
       * @param ObjectManager $manager
       */
      public function load(ObjectManager $manager)
      {
          $user = new User();
          $user-&gt;setLogin('admin');
          $user-&gt;setEmail('admin@admin.admin');
          $encoder = $this-&gt;container-&gt;get('security.password_encoder');
          $password = $encoder-&gt;encodePassword($user, '123qwe');
          $user-&gt;setPassword($password);
  
          $manager-&gt;persist();
          $manager-&gt;flush();
      }
  
      public function setContainer(ContainerInterface $container = null)
      {
          $this-&gt;container = $container;
      }
  }
  </code></pre>
  
  <p>~/app/config/services.yml</p>
  
  <pre><code>    parameters:
  
      services:
          _defaults:
              autowire: true
              autoconfigure: true
              public: false
  
          AppBundle\:
              resource: '../../src/AppBundle/*'
              exclude: '../../src/AppBundle/{Entity,Repository,Tests}'
  
          AppBundle\Controller\:
              resource: '../../src/AppBundle/Controller'
              public: true
              tags: ['controller.service_arguments']
  </code></pre>
  
  <p>Thanks.</p>