*/ public function directives(): array { return [ 'middleware' => [ 'class' => EnabledOnlyOnLocalhost::class, ], 'builder' => [ 'method' => ExternalProfileBuilder::class.'@index', ], ...parent::directives(), ]; } /** * The arguments of the type. * * @return array */ public function arguments(): array { return [ 'search: String @search', ...parent::arguments(), 'orderBy: _ @orderBy(columnsEnum: "ExternalProfileColumnsOrderable")', ]; } /** * The base return type of the query. * * @return ExternalProfileType */ public function baseType(): ExternalProfileType { return new ExternalProfileType(); } }