book = $book; } public function getBook(): Book { return $this->book; } }