public function __construct(Undefined $undefined, Enabled $enabled, RegularExpression $regularExpression) { $this->enabled = $enabled; $this->regularExpression = $regularExpression; $this->undefined = $undefined; }