$options->__set()
Validate the type of every item that is being added to the collection. They need to have the class defined by static::TYPE.
Parameters
Name | Type | Default |
---|---|---|
$key * | string |
– |
$value * | mixed |
– |
Parent class
Kirby\Option\Options
inherited from Kirby\Blueprint\Collection