| 1 | <?php |
||
| 7 | class CoossionsHandler extends Coossions implements CoossionsContractInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Coossions constructor. |
||
| 11 | * @param string $secret the secret key to be used in openssl_digest |
||
| 12 | */ |
||
| 13 | public function __construct(string $secret) |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Starts session with SessionHandlerInterface impl + cookie encryption |
||
| 20 | * |
||
| 21 | * @param bool $start if true session starts manually, set to false if php.ini session.autostart = 1 |
||
| 22 | */ |
||
| 23 | public function startSession(bool $start = true) |
||
| 30 | } |