Automated PR provided by Codex via Gitea API. Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #470
57 lines
893 B
PHP
57 lines
893 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\Filament;
|
|
|
|
final class TablePaginationProfiles
|
|
{
|
|
/**
|
|
* @return array<int>
|
|
*/
|
|
public static function resource(): array
|
|
{
|
|
return [25, 50, 100];
|
|
}
|
|
|
|
/**
|
|
* @return array<int>
|
|
*/
|
|
public static function relationManager(): array
|
|
{
|
|
return [10, 25, 50];
|
|
}
|
|
|
|
/**
|
|
* @return array<int>
|
|
*/
|
|
public static function widget(): array
|
|
{
|
|
return [10];
|
|
}
|
|
|
|
/**
|
|
* @return array<int>
|
|
*/
|
|
public static function picker(): array
|
|
{
|
|
return [25, 50, 100];
|
|
}
|
|
|
|
/**
|
|
* @return array<int|string>
|
|
*/
|
|
public static function customPage(): array
|
|
{
|
|
return [25, 50, 'all'];
|
|
}
|
|
|
|
/**
|
|
* @return array<int>
|
|
*/
|
|
public static function productSurface(): array
|
|
{
|
|
return [8, 25, 50];
|
|
}
|
|
}
|