public function __set($propertyName, $propertyValue) { if ($propertyName === 'path') { $this->inputUri = $propertyValue; return; } throw new PropertyNotFoundException($propertyName, get_class($this)); }