private function getFixtureLoader()
    {
        $container = $this->kernel->getContainer();

        $loader = class_exists('Symfony\Bridge\Doctrine\DataFixtures\ContainerAwareLoader')
            ? new DataFixturesLoader($container)
            : (class_exists('Doctrine\Bundle\FixturesBundle\Common\DataFixtures\Loader')
                ? new DoctrineFixturesLoader($container)
                : new SymfonyFixturesLoader($container));

        return $loader;
    }
private function getFixtureLoader()
    {
        $container = $this->kernel->getContainer();

        $loader = class_exists('Symfony\Bridge\Doctrine\DataFixtures\ContainerAwareLoader')
            ? new DataFixturesLoader($container)
            : (class_exists('Doctrine\Bundle\FixturesBundle\Common\DataFixtures\Loader')
                ? new DoctrineFixturesLoader($container)
                : new SymfonyFixturesLoader($container));

        return $loader;
    }
private function getFixtureLoader ( ) { $ container = $ this -> kernel -> getContainer ( ) ; $ loader = class_exists ( 'Symfony\Bridge\Doctrine\DataFixtures\ContainerAwareLoader' ) ? new DataFixturesLoader ( $ container ) : ( class_exists ( 'Doctrine\Bundle\FixturesBundle\Common\DataFixtures\Loader' ) ? new DoctrineFixturesLoader ( $ container ) : new SymfonyFixturesLoader ( $ container ) ) ; return $ loader ; }
Retrieve Data fixtures loader

@return mixed
Retrieve Data fixtures loader