Redaxscript\Autoloader::_getFile PHP Method

_getFile() protected method

get the file
Since: 3.0.0
protected _getFile ( string $className = null, string $namespace = null ) : string
$className string name of the class
$namespace string
return string
    protected function _getFile($className = null, $namespace = null)
    {
        $searchArray = [$namespace, '\\'];
        $replaceArray = [null, '/'];
        return str_replace($searchArray, $replaceArray, $className) . $this->_fileExtension;
    }