@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Monolog\Formatter\LogstashFormatter; |
| 15 | 15 | use Monolog\Handler\StreamHandler; |
| 16 | 16 | use Monolog\Logger; |
| 17 | - |
|
| 18 | 17 | use Bouncer\Identity; |
| 19 | 18 | use Bouncer\Request; |
| 20 | 19 | |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Monolog\Formatter\LogstashFormatter; |
| 15 | 15 | use Monolog\Handler\StreamHandler; |
| 16 | 16 | use Monolog\Logger; |
| 17 | - |
|
| 18 | 17 | use Bouncer\Identity; |
| 19 | 18 | use Bouncer\Request; |
| 20 | 19 | |
@@ -32,6 +32,9 @@ discard block |
||
| 32 | 32 | return $userAgent ? $userAgent : ''; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $name |
|
| 37 | + */ |
|
| 35 | 38 | public function getHeader($name) |
| 36 | 39 | { |
| 37 | 40 | return $this->headers->get($name); |
@@ -64,6 +67,9 @@ discard block |
||
| 64 | 67 | return $headers; |
| 65 | 68 | } |
| 66 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $name |
|
| 72 | + */ |
|
| 67 | 73 | public function getCookie($name) |
| 68 | 74 | { |
| 69 | 75 | return $this->cookies->get($name); |
@@ -44,6 +44,9 @@ |
||
| 44 | 44 | return isset($this->$key); |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $name |
|
| 49 | + */ |
|
| 47 | 50 | public function getAttribute($name) |
| 48 | 51 | { |
| 49 | 52 | if (isset($this->attributes[$name])) { |
@@ -22,7 +22,6 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * Retrieve an item from a cache backend |
| 24 | 24 | * |
| 25 | - * @param string $id The key to fetch |
|
| 26 | 25 | * |
| 27 | 26 | * @return string|object|null |
| 28 | 27 | */ |
@@ -31,7 +30,6 @@ discard block |
||
| 31 | 30 | /** |
| 32 | 31 | * Store an item in a cache backend |
| 33 | 32 | * |
| 34 | - * @param string $id The key that will be associated with the item. |
|
| 35 | 33 | * @param string $value The variable to store. |
| 36 | 34 | * @param int $value Expiration time of the item. |
| 37 | 35 | */ |