Create a "daux" binary

Refactored Daux a bit to allow generating documentation from working directory
This commit is contained in:
Stéphane Goetz
2016-07-27 23:27:51 +02:00
parent 4f5bc217e7
commit 3375f8ff2b
15 changed files with 164 additions and 71 deletions

View File

@ -9,15 +9,13 @@ class Root extends Directory
/**
* The root doesn't have a parent
*
* @param string $uri
*/
public function __construct(Config $config, $uri)
public function __construct(Config $config)
{
$this->setConfig($config);
$this->setUri($uri);
$this->path = $uri;
$this->setUri($config->getDocumentationDirectory());
$this->path = $config->getDocumentationDirectory();
}
/**