public function __construct(FeatureDirectory $directory, $name) { $this->directory = $directory; $this->name = $name; }