public function __call(string $method, array $args) : mixed { if (method_exists($this, 'set' . $method)) { return $this->{'set' . $method}(...$args); } throw new \BadMethodCallException(\sprintf('Call to undefined method "%s::%s()".', static::class, $method)); }