public function __construct($path = null) { $this->path = $path; $this->repoPath = $path; }
public function __construct($path = null, array $children = array()) { parent::__construct($path); foreach ($children as $child) { $this->children[$child->getName()] = $child; } $this->metadata = new TestMetadata(); }