| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public function create(BuilderFactory $build): EndpointBuilder |
||
| 20 | { |
||
| 21 | return $build->endpoint(self::class) |
||
| 22 | ->exportTo(Tenant::ALL) |
||
| 23 | ->take(PlanSearchCommand::class) |
||
| 24 | ->checkPermission('plan.read') |
||
| 25 | ->middlewares( |
||
| 26 | $build->call(PlanBulkSearchAction::class) |
||
| 27 | ) |
||
| 28 | ->return($build->many(Plan::class)); |
||
| 29 | } |
||
| 31 |