web\HeaderCollection offsetSet()

offsetSet() public method

Adds the header to the collection.

This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like $collection[$name] = $header;. This is equivalent to add().

public void offsetSet ( $name, $value )
$name string

The header name

$value string

The header value to be added

doc_Yii
2016-10-30 17:15:08
Comments
Leave a Comment

Please login to continue.