mailpoet
/
vendor-prefixed
/
doctrine
/
orm
/
src
/
Persisters
/
Collection
/
CollectionPersister.php
AbstractCollectionPersister.php
9 months ago
CollectionPersister.php
9 months ago
ManyToManyPersister.php
9 months ago
OneToManyPersister.php
9 months ago
index.php
9 months ago
CollectionPersister.php
18 lines
| 1 | <?php |
| 2 | declare (strict_types=1); |
| 3 | namespace MailPoetVendor\Doctrine\ORM\Persisters\Collection; |
| 4 | if (!defined('ABSPATH')) exit; |
| 5 | use MailPoetVendor\Doctrine\Common\Collections\Criteria; |
| 6 | use MailPoetVendor\Doctrine\ORM\PersistentCollection; |
| 7 | interface CollectionPersister |
| 8 | { |
| 9 | public function delete(PersistentCollection $collection); |
| 10 | public function update(PersistentCollection $collection); |
| 11 | public function count(PersistentCollection $collection); |
| 12 | public function slice(PersistentCollection $collection, $offset, $length = null); |
| 13 | public function contains(PersistentCollection $collection, $element); |
| 14 | public function containsKey(PersistentCollection $collection, $key); |
| 15 | public function get(PersistentCollection $collection, $index); |
| 16 | public function loadCriteria(PersistentCollection $collection, Criteria $criteria); |
| 17 | } |
| 18 |