web\CookieCollection has()

has() public method

Returns whether there is a cookie with the specified name.

Note that if a cookie is marked for deletion from browser, this method will return false.

See also remove().

public boolean has ( $name )
$name string

The cookie name

return boolean

Whether the named cookie exists

doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.