src/LazyLINQ/Interfaces/Collection.php
Class "Collection" has 39 methods, which is greater than 20 authorized. Split it into smaller classes. Open
Open
interface Collection extends \JsonSerializable, \IteratorAggregate
- Read upRead up
- Exclude checks
A class that grows too much tends to aggregate too many responsibilities and inevitably becomes harder to understand and therefore to maintain. Above a specific threshold, it is strongly advised to refactor the class into smaller ones which focus on well defined topics.