1 | <?php |
||
15 | class ApiListingControl extends Control |
||
16 | { |
||
17 | /** @var ApiDecider */ |
||
18 | private $apiDecider; |
||
19 | |||
20 | public $onClick = []; |
||
21 | |||
22 | private $templateFilePath; |
||
23 | |||
24 | public function __construct(ApiDecider $apiDecider) |
||
28 | |||
29 | public function render(): void |
||
39 | |||
40 | public function handleSelect(string $method, int $version, string $package, ?string $apiAction = null): void |
||
44 | |||
45 | /** |
||
46 | * @param Api[] $handlers |
||
47 | * @return array |
||
48 | */ |
||
49 | private function groupApis(array $handlers): array |
||
61 | |||
62 | public function setTemplateFilePath(string $templateFilePath): void |
||
66 | |||
67 | private function getTemplateFilePath(): string |
||
71 | } |
||
72 |