mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 20:13:28 +00:00
31 lines
620 B
PHP
31 lines
620 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\Collection\Reference;
|
|
|
|
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);
|
|
}
|