collectionRepositoryFactory = $collectionRepositoryFactory; } /** * @param int $databoxId * @return CollectionRepository */ public function createRepositoryForDatabox($databoxId) { $repository = $this->collectionRepositoryFactory->createRepositoryForDatabox($databoxId); return new ArrayCacheCollectionRepository($repository); } }