public function __get($name) { if (isset($this->set->{$name})) { return $this->set->{$name}; } throw new LazerException('There is no data'); }