sfCoreAutoload::getClassPath PHP Method

getClassPath() public method

Returns the filename of the supplied class.
public getClassPath ( string $class ) : string | null
$class string The class name (case insensitive)
return string | null An absolute path or null
    public function getClassPath($class)
    {
        $class = strtolower($class);
        if (!isset($this->classes[$class])) {
            return null;
        }
        return $this->baseDir . '/' . $this->classes[$class];
    }