Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Cartalyst
Sentinel
Cookies
NativeCookie
minutesToLifetime
Cartalyst\Sentinel\Cookies\NativeCookie::minutesToLifetime PHP Method
NativeCookie Class Documentation
Mostrar archivo
Open project: cartalyst/sentinel
minutesToLifetime()
protected
method
Takes a minutes parameter (relative to now) and converts it to a lifetime (unix timestamp).
protected
minutesToLifetime
(
integer
$minutes
) :
integer
$minutes
integer
return
integer
protected function minutesToLifetime($minutes) { return time() + $minutes * 60; }
NativeCookie
__construct
forget
get
getCookie
minutesToLifetime
put
setCookie