| 1 | <?php |
||
| 10 | class RouteEndpointType extends EndpointType |
||
| 11 | { |
||
| 12 | /** @var \Illuminate\Routing\Route */ |
||
| 13 | protected $route; |
||
| 14 | |||
| 15 | /** @var string|null */ |
||
| 16 | protected $httpVerb; |
||
| 17 | |||
| 18 | /** @var string|null */ |
||
| 19 | protected $name; |
||
| 20 | |||
| 21 | public static function make(Route $route): RouteEndpointType |
||
| 25 | |||
| 26 | public function __construct(Route $route) |
||
| 30 | |||
| 31 | public function httpVerb(?string $httpVerb): RouteEndpointType |
||
| 37 | |||
| 38 | public function name(?string $name): RouteEndpointType |
||
| 44 | |||
| 45 | public function getEndpoints(Model $model = null): array |
||
| 58 | |||
| 59 | private function resolveName() : string |
||
| 65 | |||
| 66 | private function getHttpVerbForRoute(Route $route): string |
||
| 80 | } |
||
| 81 |