public function __construct($name, FeatureDirectory $parent = null) { $this->name = $name; $this->parent = $parent; $this->entries = array(); }