Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php namespace Comodojo\Cookies; |
||
21 | class SecureCookie extends EncryptedCookie { |
||
22 | |||
23 | /** |
||
24 | * Create a client-specific key using provided key, |
||
25 | * the client remote address and (in case) the value of |
||
26 | * HTTP_X_FORWARDED_FOR header |
||
27 | * |
||
28 | * @param string $key |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | protected static function encryptKey($key) { |
||
53 |