board = $board; } public function jsonSerialize(): array { return [ 'id' => $this->getId(), 'title' => $this->getTitle() ]; } protected function getter(string $name): mixed { return $this->board->getter($name); } public function __call($methodName, $args) { return $this->board->__call($methodName, $args); } }