A map using Sass values as keys based on Value::equals.
The map can be either modifiable or unmodifiable. For unmodifiable maps, all mutators will throw a LogicException.
Iteration preserves the order in which keys have been inserted.
| template |
T |
|---|---|
| template-implements |
\IteratorAggregate<Value, T> |
| package |
Application |
assertModifiable() : void
count() : int
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
int
get(\ScssPhp\ScssPhp\Value\Valuekey) : \ScssPhp\ScssPhp\Collection\T|null
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\ScssPhp\ScssPhp\Value\Value
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\ScssPhp\ScssPhp\Collection\T|null
getIterator() : \Traversable
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\Traversable
of(\ScssPhp\ScssPhp\Collection\Map<\ScssPhp\ScssPhp\Collection\V>map) : \ScssPhp\ScssPhp\Collection\Map<\ScssPhp\ScssPhp\Collection\V>
| template |
V |
|---|---|
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\ScssPhp\ScssPhp\Collection\Map<\ScssPhp\ScssPhp\Collection\V>
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\ScssPhp\ScssPhp\Collection\Map<\ScssPhp\ScssPhp\Collection\V>
put(\ScssPhp\ScssPhp\Value\Valuekey, \ScssPhp\ScssPhp\Collection\Tvalue) : void
If the key was already in the map, its associated value is changed. Otherwise the key/value pair is added to the map.
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\ScssPhp\ScssPhp\Value\Value
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\ScssPhp\ScssPhp\Collection\T
remove(\ScssPhp\ScssPhp\Value\Valuekey) : \ScssPhp\ScssPhp\Collection\T|null
Returns the value associated with key before it was removed.
Returns null if key was not in the map.
Note that some maps allow null as a value,
so a returned null value doesn't always mean that the key was absent.
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\ScssPhp\ScssPhp\Value\Value
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\ScssPhp\ScssPhp\Collection\T|null
unmodifiable(\ScssPhp\ScssPhp\Collection\Map<\ScssPhp\ScssPhp\Collection\V>map) : \ScssPhp\ScssPhp\Collection\Map<\ScssPhp\ScssPhp\Collection\V>
All mutators will throw a LogicException when trying to use them.
| template |
V |
|---|---|
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\ScssPhp\ScssPhp\Collection\Map<\ScssPhp\ScssPhp\Collection\V>
Deprecated: Please use getType in phar:///app/lib/system/lib/phpdocumentor/lib/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
\ScssPhp\ScssPhp\Collection\Map<\ScssPhp\ScssPhp\Collection\V>
modifiable : bool
bool
pairs : array<int,array{: \ScssPhp\ScssPhp\Value\Value, : \ScssPhp\ScssPhp\Collection\T}>
| var | |
|---|---|
array<int, T}>