| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class RequestHeader implements \JsonSerializable { |
||
| 21 | /** |
||
| 22 | * Business ID. |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $business_id; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Construct and initialize request header. |
||
| 30 | * |
||
| 31 | * @param string $business_id Business ID. |
||
| 32 | */ |
||
| 33 | 3 | public function __construct( $business_id ) { |
|
| 35 | 3 | } |
|
| 36 | |||
| 37 | /** |
||
| 38 | * JSON serialize. |
||
| 39 | * |
||
| 40 | * @return object |
||
| 41 | */ |
||
| 42 | 2 | public function jsonSerialize() { |
|
| 48 |