ModelBundle/DataFixtures/Loader/OrchestraContainerAwareLoader.php
public function isTransient($className)
    {
        $parentCheck = parent::isTransient($className);

        if (true == $parentCheck) {
            return true;
        }

        if ($this->container->hasParameter('open_orchestra_model.fixtures_interface.' . $this->interfaceType)) {
            $orchestraFixturesInterfaces = $this->container->getParameter('open_orchestra_model.fixtures_interface.' . $this->interfaceType);

            $interfaces = class_implements($className);
            foreach ($orchestraFixturesInterfaces as $interface) {
                if (!in_array($interface, $interfaces)) {
                    return true;
                }
            }
        } else {
            return true;
        }

        return false;
    }
public function isTransient($className)
    {
        $parentCheck = parent::isTransient($className);

        if (true == $parentCheck) {
            return true;
        }

        if ($this->container->hasParameter('open_orchestra_model.fixtures_interface.' . $this->interfaceType)) {
            $orchestraFixturesInterfaces = $this->container->getParameter('open_orchestra_model.fixtures_interface.' . $this->interfaceType);

            $interfaces = class_implements($className);
            foreach ($orchestraFixturesInterfaces as $interface) {
                if (!in_array($interface, $interfaces)) {
                    return true;
                }
            }
        } else {
            return true;
        }

        return false;
    }
public function isTransient ( $ className ) { $ parentCheck = parent :: isTransient ( $ className ) ; if ( true == $ parentCheck ) { return true ; } if ( $ this -> container -> hasParameter ( 'open_orchestra_model.fixtures_interface.' . $ this -> interfaceType ) ) { $ orchestraFixturesInterfaces = $ this -> container -> getParameter ( 'open_orchestra_model.fixtures_interface.' . $ this -> interfaceType ) ; $ interfaces = class_implements ( $ className ) ; foreach ( $ orchestraFixturesInterfaces as $ interface ) { if ( ! in_array ( $ interface , $ interfaces ) ) { return true ; } } } else { return true ; } return false ; }
@param string $className

@return bool
@param string $className