Collections\DictionaryInterface::add PHP Method

add() public method

Adds the key-value pair containing $key and $value to the dictionary.
public add ( $key, $value ) : static
$key
$value
return static
    public function add($key, $value);