1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- declare(strict_types=1);
- namespace Geocoder;
- use Geocoder\Exception\CollectionIsEmpty;
- use Geocoder\Exception\OutOfBounds;
- interface Collection extends \IteratorAggregate, \Countable
- {
-
- public function first(): Location;
-
- public function isEmpty(): bool;
-
- public function slice(int $offset, int $length = null);
-
- public function has(int $index): bool;
-
- public function get(int $index): Location;
-
- public function all(): array;
- }
|