src/Autoloader.php
public function autoload($className)
    {
        if (0 === strpos($className, $this->prefix)) {
            $parts = explode('\\', substr($className, $this->prefixLength));
            $filepath = $this->directory.DIRECTORY_SEPARATOR.implode(DIRECTORY_SEPARATOR, $parts).'.php';

            if (is_file($filepath)) {
                require $filepath;
            }
        }
    }
public function autoload($className)
    {
        if (0 === strpos($className, $this->prefix)) {
            $parts = explode('\\', substr($className, $this->prefixLength));
            $filepath = $this->directory.DIRECTORY_SEPARATOR.implode(DIRECTORY_SEPARATOR, $parts).'.php';

            if (is_file($filepath)) {
                require $filepath;
            }
        }
    }
public function autoload ( $ className ) { if ( 0 === strpos ( $ className , $ this -> prefix ) ) { $ parts = explode ( '\\' , substr ( $ className , $ this -> prefixLength ) ) ; $ filepath = $ this -> directory . DIRECTORY_SEPARATOR . implode ( DIRECTORY_SEPARATOR , $ parts ) . '.php' ; if ( is_file ( $ filepath ) ) { require $ filepath ; } } }
Loads a class from a file using its fully qualified name.

@param string $className Fully qualified name of a class.
Loads a class from a file using its fully qualified name .