mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 11:03:17 +00:00
27 lines
494 B
PHP
27 lines
494 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\Collection;
|
|
|
|
interface CollectionRepository
|
|
{
|
|
|
|
/**
|
|
* @param int $databoxId
|
|
* @return \collection[]
|
|
*/
|
|
public function findAllByDatabox($databoxId);
|
|
|
|
/**
|
|
* @param int $baseId
|
|
* @return \collection|null
|
|
*/
|
|
public function find($baseId);
|
|
|
|
/**
|
|
* @param int $databoxId
|
|
* @param int $collectionId
|
|
* @return \collection|null
|
|
*/
|
|
public function findByCollectionId($databoxId, $collectionId);
|
|
}
|