public function loadBook($bookId) { $this->security->checkRead($bookId); $bookController = new BookController(); $book = $bookController->find($bookId); throw new Success(null, $book->toJson()); }