src/Zicht/Bundle/FrameworkExtraBundle/Fixture/Builder.php
private function resolve($entity)
    {
        foreach ($this->namespaces as $namespace) {
            $className = $namespace . '\\' . ucfirst($entity);
            if (class_exists($className)) {
                return $className;
            }
        }
        return null;
    }
private function resolve($entity)
    {
        foreach ($this->namespaces as $namespace) {
            $className = $namespace . '\\' . ucfirst($entity);
            if (class_exists($className)) {
                return $className;
            }
        }
        return null;
    }
private function resolve ( $ entity ) { foreach ( $ this -> namespaces as $ namespace ) { $ className = $ namespace . '\\' . ucfirst ( $ entity ) ; if ( class_exists ( $ className ) ) { return $ className ; } } return null ; }
Resolve the entity name to any of the configured namespaces.
Returns null if not found.

@param string $entity
@return null|string
Resolve the entity name to any of the configured namespaces . Returns null if not found .