프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |