TheSeer\phpDox\Collector\SourceCollection::__construct PHP Method

__construct() public method

public __construct ( TheSeer\phpDox\FileInfo $srcDir )
$srcDir TheSeer\phpDox\FileInfo
    public function __construct(FileInfo $srcDir)
    {
        $this->srcDir = $srcDir;
        $this->workDom = new fDOMDocument();
        $this->workDom->registerNamespace('phpdox', 'http://xml.phpdox.net/src');
        $this->workDom->appendElementNS('http://xml.phpdox.net/src', 'source');
    }