1 | <?php |
||
7 | class InvokableControllerEndpointType extends ControllerEndpointType |
||
8 | { |
||
9 | /** @var string */ |
||
10 | private $controller; |
||
|
|||
11 | |||
12 | /** @var string|null */ |
||
13 | private $name; |
||
14 | |||
15 | public static function make(string $controller): ControllerEndpointType |
||
19 | |||
20 | public function __construct(string $controller) |
||
26 | |||
27 | public function name(?string $name): InvokableControllerEndpointType |
||
33 | |||
34 | public function getEndpoints(Model $model = null): array |
||
38 | |||
39 | public function getCollectionEndpoints(): array |
||
43 | |||
44 | private function resolveEndpointType(): ActionEndpointType |
||
52 | } |
||
53 |