49 lines
759 B
PHP
49 lines
759 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'];
|
|
}
|
|
}
|