Files
Phraseanet/lib/Alchemy/Phrasea/Collection/CollectionReferenceRepository.php
2015-07-09 12:32:06 +02:00

31 lines
610 B
PHP

<?php
namespace Alchemy\Phrasea\Collection;
interface CollectionReferenceRepository
{
/**
* @return CollectionReference[]
*/
public function findAll();
/**
* @param int $databoxId
* @return CollectionReference[]
*/
public function findAllByDatabox($databoxId);
/**
* @param int $baseId
* @return CollectionReference|null
*/
public function find($baseId);
/**
* @param int $databoxId
* @param int $collectionId
* @return CollectionReference|null
*/
public function findByCollectionId($databoxId, $collectionId);
}