private function loadFixtureClass($className)
    {
        $fixture = new $className();

        if ($this->loader->hasFixture($fixture)) {
            unset($fixture);

            return;
        }

        $this->loader->addFixture(new $className());

        if ($fixture instanceof DependentFixtureInterface) {
            foreach ($fixture->getDependencies() as $dependency) {
                $this->loadFixtureClass($dependency);
            }
        }
    }
private function loadFixtureClass($className)
    {
        $fixture = new $className();

        if ($this->loader->hasFixture($fixture)) {
            unset($fixture);

            return;
        }

        $this->loader->addFixture(new $className());

        if ($fixture instanceof DependentFixtureInterface) {
            foreach ($fixture->getDependencies() as $dependency) {
                $this->loadFixtureClass($dependency);
            }
        }
    }
private function loadFixtureClass ( $ className ) { $ fixture = new $ className ( ) ; if ( $ this -> loader -> hasFixture ( $ fixture ) ) { unset ( $ fixture ) ; return ; } $ this -> loader -> addFixture ( new $ className ( ) ) ; if ( $ fixture instanceof DependentFixtureInterface ) { foreach ( $ fixture -> getDependencies ( ) as $ dependency ) { $ this -> loadFixtureClass ( $ dependency ) ; } } }
Load a data fixture class.

@param string $className Class name
Load a data fixture class .