Property | Type | Description | |
---|---|---|---|
$config | array | ||
$connection | Pagekit\Database\Connection | ||
$cookie | Pagekit\Cookie\CookieJar | ||
$random | RandomLib\Generator | ||
$requests | Symfony\Component\HttpFoundation\RequestStack |
Method | Description | |
---|---|---|
__construct ( Pagekit\Database\Connection $connection, Symfony\Component\HttpFoundation\RequestStack $requests, Pagekit\Cookie\CookieJar $cookie, RandomLib\Generator $random, array $config = null ) | Constructor. | |
destroy ( ) | ||
read ( ) | ||
write ( $user, $remember = false ) |
Method | Description | |
---|---|---|
createTable ( ) | ||
getRequest ( ) : null | |
||
getToken ( ) : mixed | Gets the token from the request. |
public __construct ( Pagekit\Database\Connection $connection, Symfony\Component\HttpFoundation\RequestStack $requests, Pagekit\Cookie\CookieJar $cookie, RandomLib\Generator $random, array $config = null ) | ||
$connection | Pagekit\Database\Connection | |
$requests | Symfony\Component\HttpFoundation\RequestStack | |
$cookie | Pagekit\Cookie\CookieJar | |
$random | RandomLib\Generator | |
$config | array |
protected getRequest ( ) : null | |
||
return | null | |
protected Connection,Pagekit\Database $connection | ||
return | Pagekit\Database\Connection |
protected CookieJar,Pagekit\Cookie $cookie | ||
return | Pagekit\Cookie\CookieJar |