src/Zicht/Bundle/FrameworkExtraBundle/Util/SortedSetMap.php
public function add($key, $value)
    {
        if (!isset($this->values[$key])) {
            $this->values[$key] = new SortedSet();
        }
        $this->values[$key]->add($value);
        $this->stateChanged();
    }
public function add($key, $value)
    {
        if (!isset($this->values[$key])) {
            $this->values[$key] = new SortedSet();
        }
        $this->values[$key]->add($value);
        $this->stateChanged();
    }
public function add ( $ key , $ value ) { if ( ! isset ( $ this -> values [ $ key ] ) ) { $ this -> values [ $ key ] = new SortedSet ( ) ; } $ this -> values [ $ key ] -> add ( $ value ) ; $ this -> stateChanged ( ) ; }
Add a value to the given map key.

@param string $key
@param int|float|string|bool $value
@return void
Add a value to the given map key .