Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class THttpRequestParameter extends \Prado\TEventParameter |
||
22 | { |
||
23 | /** |
||
24 | * @var array The service IDs associated with the request. |
||
25 | */ |
||
26 | private array $_serviceIDs; |
||
27 | |||
28 | /** |
||
29 | * Constructor. |
||
30 | * |
||
31 | * @param array $serviceIDs The service IDs associated with the request. |
||
32 | * @param array $urlParams The URL parameters of the request. |
||
33 | */ |
||
34 | public function __construct(array $serviceIDs, array $urlParams) |
||
35 | { |
||
36 | $this->setServiceIDs($serviceIDs); |
||
37 | parent::__construct($urlParams); |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @return array The Service IDs available in the application. |
||
42 | */ |
||
43 | public function getServiceIDs(): array |
||
44 | { |
||
45 | return $this->_serviceIDs; |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @param array $value The Service IDs available in the application. |
||
50 | * @return static $this |
||
51 | */ |
||
52 | public function setServiceIDs(array $value): static |
||
57 | } |
||
58 | } |
||
59 |