Свойство | Тип | Описание | |
---|---|---|---|
$options | array | The cookie options. |
Метод | Описание | |
---|---|---|
__construct ( string | array $options = [] ) : void | Create a new cookie driver. | |
forget ( ) | {@inheritDoc} | |
get ( ) | {@inheritDoc} | |
put ( $value ) | {@inheritDoc} |
Метод | Описание | |
---|---|---|
getCookie ( ) : mixed | Returns a PHP cookie. | |
minutesToLifetime ( integer $minutes ) : integer | Takes a minutes parameter (relative to now) and converts it to a lifetime (unix timestamp). | |
setCookie ( mixed $value, integer $lifetime, string $path = null, string $domain = null, boolean $secure = null, boolean $httpOnly = null ) : void | Sets a PHP cookie. |
protected minutesToLifetime ( integer $minutes ) : integer | ||
$minutes | integer | |
Результат | integer |