mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-13 01:16:57 +08:00
25 lines
573 B
PHP
25 lines
573 B
PHP
<?php
|
|
|
|
namespace Filament\Actions;
|
|
|
|
use Filament\Actions\Testing\TestsActions;
|
|
use Livewire\Features\SupportTesting\Testable;
|
|
use Spatie\LaravelPackageTools\Package;
|
|
use Spatie\LaravelPackageTools\PackageServiceProvider;
|
|
|
|
class ActionsServiceProvider extends PackageServiceProvider
|
|
{
|
|
public function configurePackage(Package $package): void
|
|
{
|
|
$package
|
|
->name('filament-actions')
|
|
->hasTranslations()
|
|
->hasViews();
|
|
}
|
|
|
|
public function packageBooted(): void
|
|
{
|
|
Testable::mixin(new TestsActions());
|
|
}
|
|
}
|