| 1 | <?php |
||
| 14 | class Signature extends Resource |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The unique id |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $id; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The HTTP headers (used to compute the signature) |
||
| 26 | * |
||
| 27 | * @var array |
||
| 28 | */ |
||
| 29 | protected $headers; |
||
| 30 | |||
| 31 | // /** |
||
| 32 | // * The Language Code (extract from Accept-Language) |
||
| 33 | // * |
||
| 34 | // * @var string |
||
| 35 | // */ |
||
| 36 | // protected $language; |
||
| 37 | |||
| 38 | // /** |
||
| 39 | // * The Country Code (extract from Accept-Language) |
||
| 40 | // * |
||
| 41 | // * @var string |
||
| 42 | // */ |
||
| 43 | // protected $countryCode; |
||
| 44 | |||
| 45 | public function getId() |
||
| 49 | |||
| 50 | public function setId($id) |
||
| 54 | |||
| 55 | public function setHeaders($headers) |
||
| 60 | |||
| 61 | // public function getLanguage() |
||
| 62 | // { |
||
| 63 | // return $this->language; |
||
| 64 | // } |
||
| 65 | |||
| 66 | // public function setLanguage($language) |
||
| 67 | // { |
||
| 68 | // return $this->language = $language; |
||
| 69 | // } |
||
| 70 | |||
| 71 | // public function getCountryCode() |
||
| 72 | // { |
||
| 73 | // return $this->countryCode; |
||
| 74 | // } |
||
| 75 | |||
| 76 | // public function setCountryCode($countryCode) |
||
| 77 | // { |
||
| 78 | // return $this->countryCode = $countryCode; |
||
| 79 | // } |
||
| 80 | |||
| 81 | public function getLanguage() |
||
| 85 | |||
| 86 | public function getCountryCode() |
||
| 90 | |||
| 91 | } |
||
| 92 |