Drop support for PHP <= 8.2
Added
- Class
Ghostwriter\Collection\Interface\CollectionInterface
has been added - Class
Ghostwriter\Collection\Interface\ExceptionInterface
has been added - Method
Ghostwriter\Collection\Collection::from()
was added - Method
Ghostwriter\Collection\Collection::new()
was added
Removed
- Class
Ghostwriter\Collection\ExceptionInterface
has been deleted - Method
Ghostwriter\Collection\Collection::fromGenerator()
was removed - Method
Ghostwriter\Collection\Collection::fromIterable()
was removed
Changed
- Exception class
Ghostwriter\Collection\Exception\FirstValueNotFoundException
implementsGhostwriter\Collection\Interface\ExceptionInterface
- Exception class
Ghostwriter\Collection\Exception\LengthMustBePositiveIntegerException
implementsGhostwriter\Collection\Interface\ExceptionInterface
- Exception class
Ghostwriter\Collection\Exception\OffsetMustBePositiveIntegerException
implementsGhostwriter\Collection\Interface\ExceptionInterface
Full Changelog: 1.4.0...2.0.0