| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class YRC extends BaseObject |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The access header |
||
| 16 | * If set access to controller actions is granted if and only if the HTTP header value |
||
| 17 | * identified by this parameters equals the $accessHeaderSecret property |
||
| 18 | * @return mixed |
||
| 19 | */ |
||
| 20 | public $accessHeader; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The access header secret value |
||
| 24 | * @return mixed |
||
| 25 | */ |
||
| 26 | public $accessHeaderSecret; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Helper method to check the access header |
||
| 30 | * @return boolean |
||
| 31 | */ |
||
| 32 | public function checkAccessHeader($request) |
||
| 51 |