@php $parameters = [ [ 'name' => 'from', 'type' => 1, 'format' => 'string', 'description' => __('The starting date in :format format.', ['format' => 'Y-m-d']) ], [ 'name' => 'to', 'type' => 1, 'format' => 'string', 'description' => __('The ending date in :format format.', ['format' => 'Y-m-d']) ], [ 'name' => 'name', 'type' => 1, 'format' => 'string', 'description' => __('The name of the statistic.') . ' ' . __('Possible values are: :values.', ['values' => ''.implode(', ', config('stats.types')).'']) ], [ 'name' => 'search', 'type' => 0, 'format' => 'string', 'description' => __('The search query.') ], [ 'name' => 'sort', 'type' => 0, 'format' => 'string', 'description' => __('Sort') . '. ' . __('Possible values are: :values.', [ 'values' => implode(', ', [ __(':value for :name', ['value' => 'max', 'name' => ''.__('Best performing').'']), __(':value for :name', ['value' => 'min', 'name' => ''.__('Least performing').'']) ]) ]).' ' . __('Defaults to: :value.', ['value' => 'max']) ], [ 'name' => 'per_page', 'type' => 0, 'format' => 'int', 'description' => __('Results per page') . '. '. __('Possible values are: :values.', [ 'values' => implode(', ', [ __(':from to :to', ['from' => '10', 'to' => '100']) ]) ]) .' ' . __('Defaults to: :value.', ['value' => ''.config('settings.paginate').'']) ] ]; @endphp @include('developers.parameters')