public function setAutoloadFile($autoload)
    {
        if ($autoload !== false && !file_exists($autoload)) {
            throw new Exception("The autoload path '{$autoload}' doesn't exist.");
        }

        $this->autoload = $autoload;

        return $this;
    }
public function setAutoloadFile($autoload)
    {
        if ($autoload !== false && !file_exists($autoload)) {
            throw new Exception("The autoload path '{$autoload}' doesn't exist.");
        }

        $this->autoload = $autoload;

        return $this;
    }
public function setAutoloadFile ( $ autoload ) { if ( $ autoload !== false && ! file_exists ( $ autoload ) ) { throw new Exception ( "The autoload path '{$autoload}' doesn't exist." ) ; } $ this -> autoload = $ autoload ; return $ this ; }
Set a custom path to the autoload.php file.

@param string $file The absolute path to the autoload.php file.

@return void
Set a custom path to the autoload . php file .