src/Vectorface/SnappyRouter/Config/Config.php
public function offsetSet($key, $value)
    {
        if (null === $key) {
            throw new \Exception('Config values must contain a key.');
        }
        $this->config[$key] = $value;
    }
public function offsetSet($key, $value)
    {
        if (null === $key) {
            throw new \Exception('Config values must contain a key.');
        }
        $this->config[$key] = $value;
    }
public function offsetSet ( $ key , $ value ) { if ( null === $ key ) { throw new \ Exception ( 'Config values must contain a key.' ) ; } $ this -> config [ $ key ] = $ value ; }
Sets the value associated with the given key.
@param string $key The key to be used.
@param mixed $value The value to be set.
@return void
Sets the value associated with the given key .