Innmind /
Immutable
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | declare(strict_types = 1); |
||
| 3 | |||
| 4 | namespace Innmind\Immutable; |
||
| 5 | |||
| 6 | /** |
||
| 7 | * @deprecated To be removed in 2.0 |
||
| 8 | */ |
||
| 9 | interface TypedCollectionInterface extends CollectionInterface |
||
|
0 ignored issues
–
show
|
|||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Return the type of the collection |
||
| 13 | * |
||
| 14 | * It usually will be a class name |
||
| 15 | * |
||
| 16 | * @return string |
||
| 17 | */ |
||
| 18 | public function getType(): string; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Same as getType but without the get |
||
| 22 | * |
||
| 23 | * @return setring |
||
| 24 | */ |
||
| 25 | public function type(): string; |
||
| 26 | } |
||
| 27 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.