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