26 lines
634 B
PHP
26 lines
634 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\SiteResource\RelationManagers;
|
|
|
|
use Filament\Resources\Form;
|
|
use Filament\Resources\Table;
|
|
use App\Filament\Resources\CronjobResource;
|
|
use Filament\Resources\RelationManagers\RelationManager;
|
|
|
|
class CronjobsRelationManager extends RelationManager
|
|
{
|
|
protected static string $relationship = 'cronjobs';
|
|
|
|
protected static ?string $recordTitleAttribute = 'command';
|
|
|
|
public static function form(Form $form): Form
|
|
{
|
|
return CronjobResource::form($form);
|
|
}
|
|
|
|
public static function table(Table $table): Table
|
|
{
|
|
return CronjobResource::table($table);
|
|
}
|
|
}
|