bookmarkRepository ??= new BookmarkRepository(); } public function createBookmarkGroupRepository(): BookmarkGroupRepositoryInterface { return $this->groupRepository ??= new BookmarkGroupRepository(); } public function createBookmarkNavigationRepository(): BookmarkNavigationRepositoryInterface { return $this->navigationRepository ??= new BookmarkNavigationRepository(); } }