| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class BookRepository extends ServiceEntityRepository |
||
| 13 | { |
||
| 14 | public function __construct(ManagerRegistry $registry) |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Find a book by ISBN. |
||
| 21 | * |
||
| 22 | * @param string $isbn ISBN of the book to find |
||
| 23 | * @return Book|null Returns a Book object or null if not found |
||
| 24 | */ |
||
| 25 | public function findByIsbn(string $isbn): ?Book |
||
| 60 |