Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3// ╔════════════════════════════════════════════════════════════╗
4// ║ MIT Licence (#Expat) - https://opensource.org/licenses/MIT ║
5// ║ Copyright 2026 Frederic Poeydomenge <dyno@phexium.com>     ║
6// ╚════════════════════════════════════════════════════════════╝
7
8declare(strict_types=1);
9
10namespace Phexium\Domain\Collection\Interface;
11
12interface TransformableCollectionInterface
13{
14    public function slice(int $offset, ?int $length = null): static;
15
16    public function take(int $limit): static;
17
18    public function sort(callable $comparator): static;
19
20    public function reverse(): static;
21
22    public function unique(): static;
23}