public function getAssignedProperty($name) { return property_exists($this, $name) ? $this->{$name} : null; }