BearFramework\App\Response\Cookies

Provides information about the response cookies
BearFramework\App\Response\Cookies {

    
/* Methods */
    
public self delete string $name )
    public 
bool exists string $name )
    public 
BearFramework\App\Response\Cookie|null get string $name )
    public 
BearFramework\DataList|BearFramework\App\Response\Cookie[] getList void )
    public 
BearFramework\App\Response\Cookie make ( [ string|null $name [, string|null $value ]] )
    public 
self set BearFramework\App\Response\Cookie $cookie )

}
Methods
public self delete ( string $name )
Deletes a cookie if exists.
public bool exists ( string $name )
Returns information whether a cookie with the name specified exists.
public BearFramework\App\Response\Cookie|null get ( string $name )
Returns a cookie or null if not found.
Returns a list of all cookies.
public BearFramework\App\Response\Cookie make ( [ string|null $name [, string|null $value ]] )
Constructs a new cookie and returns it.
public self set ( BearFramework\App\Response\Cookie $cookie )
Sets a cookie.
Details
Location: ~/src/App/Response/Cookies.php
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.