public function __construct($selectorName, $path) { if (null === $selectorName) { throw new \InvalidArgumentException('Required argument selectorName may not be null.'); } $this->selectorName = $selectorName; $this->path = $path; }