public function offsetSet($key, $value)
	{
		if (is_array($key) || is_object($key))
		{
			foreach ($key as $k => $v)
			{
				$this->attributes[$k] = $v;
			}
		}
		else
		{
			$this->attributes[$key] = $value;
		}
	}
public function offsetSet($key, $value)
	{
		if (is_array($key) || is_object($key))
		{
			foreach ($key as $k => $v)
			{
				$this->attributes[$k] = $v;
			}
		}
		else
		{
			$this->attributes[$key] = $value;
		}
	}
public function offsetSet ( $ key , $ value ) { if ( is_array ( $ key ) || is_object ( $ key ) ) { foreach ( $ key as $ k => $ v ) { $ this -> attributes [ $ k ] = $ v ; } } else { $ this -> attributes [ $ key ] = $ value ; } }
Sets the atrributes key with value

@param   array|string  $key    The key to set, or array of key/value pairs
@param   mixed         $value  The value to set if key is string
@return  void
@since   2.0.0
Sets the atrributes key with value