Elgg\ClassMap::getPath PHP Method

getPath() public method

Get the path for a class/interface/trait
public getPath ( string $class ) : string
$class string a class/interface/trait name
return string the file path or empty string
    public function getPath($class)
    {
        if ('\\' === $class[0]) {
            $class = substr($class, 1);
        }
        return isset($this->map[$class]) ? $this->map[$class] : "";
    }