public function getSourceFile($page)
    {
        $path = realpath($this->generator->getInputDirectory() . '/' . $page . '.xml');

        return new SourceFile($page, $path);
    }
public function getSourceFile($page)
    {
        $path = realpath($this->generator->getInputDirectory() . '/' . $page . '.xml');

        return new SourceFile($page, $path);
    }
public function getSourceFile ( $ page ) { $ path = realpath ( $ this -> generator -> getInputDirectory ( ) . '/' . $ page . '.xml' ) ; return new SourceFile ( $ page , $ path ) ; }
Loads a source file.

@param string $page The page to load.
@return SourceFile
Loads a source file .