Jamm\Autoload\Autoloader::generate_filepath PHP 메소드

generate_filepath() 보호된 메소드

protected generate_filepath ( $dir, $class_path )
    protected function generate_filepath($dir, $class_path)
    {
        $file = $dir . $class_path . '.php';
        if (file_exists($file)) {
            return $file;
        }
        $file = $dir . $class_path . '.inc';
        if (file_exists($file)) {
            return $file;
        }
        $file = $dir . $class_path . '.class';
        if (file_exists($file)) {
            return $file;
        }
        return false;
    }