| Total Complexity | 5 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class Bookmark implements BookmarkInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var ArrayIterator<CatalogueInterface> |
||
| 23 | */ |
||
| 24 | protected ArrayIterator $catalogs; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var LoaderInterface |
||
| 28 | */ |
||
| 29 | protected LoaderInterface $loader; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Bookmark constructor. |
||
| 33 | */ |
||
| 34 | public function __construct() |
||
| 35 | { |
||
| 36 | $this->catalogs = new ArrayIterator(); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @inheritdoc |
||
| 41 | */ |
||
| 42 | public function setLoader(LoaderInterface $loader): BookmarkInterface |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @inheritdoc |
||
| 51 | */ |
||
| 52 | public function getCatalogue(string $locale): CatalogueInterface |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @inheritdoc |
||
| 63 | */ |
||
| 64 | public function hasCatalogue(string $locale): bool |
||
| 69 |