1 | <?php |
||
10 | class RouteEndpointType extends EndpointType |
||
11 | { |
||
12 | /** @var \Illuminate\Routing\Route */ |
||
13 | protected $route; |
||
14 | |||
15 | /** @var array */ |
||
16 | protected $defaultParameters; |
||
17 | |||
18 | /** @var string|null */ |
||
19 | protected $httpVerb; |
||
20 | |||
21 | /** @var string|null */ |
||
22 | protected $name; |
||
23 | |||
24 | public function __construct(Route $route, array $defaultParameters = [], string $httpVerb = null) |
||
30 | |||
31 | public function getEndpoints(Model $model = null): array |
||
53 | |||
54 | public function setName(?string $name) : RouteEndpointType |
||
60 | |||
61 | protected function getHttpVerbForRoute(Route $route): string |
||
75 | } |
||
76 |