$value) { if (property_exists($this, $name)) { $this->$name = $value; } } } /** * @param string $content * @return array * @throws \Exception */ abstract public function print($content); }