Skip to content

Commit f3e1720

Browse files
committed
Issue #104: how to send an email and parse the content
Signed-off-by: horea <horea@rospace.com>
1 parent 6e34aa9 commit f3e1720

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/book/v5/tutorials/create-book-module.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,13 @@ class BookHandler extends AbstractHandler implements RequestHandlerInterface
559559

560560
return $this->createResponse($request, $book);
561561
}
562+
563+
public function getCollection(ServerRequestInterface $request): ResponseInterface
564+
{
565+
$books = $this->bookService->getRepository()->getBooks($request->getQueryParams());
566+
567+
return $this->createResponse($request, $books);
568+
}
562569

563570
public function post(ServerRequestInterface $request): ResponseInterface
564571
{

0 commit comments

Comments
 (0)