web\CookieCollection offsetSet()

offsetSet() public method

Adds the cookie to the collection.

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

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

The cookie name

$cookie yii\web\Cookie

The cookie to be added

doc_Yii
2016-10-30 17:14:52
Comments
Leave a Comment

Please login to continue.