use `artisan make:action <name>` to generate final & readonly php class with execute method.
15 lines
184 B
Plaintext
15 lines
184 B
Plaintext
<?php
|
|
|
|
namespace {{ namespace }};
|
|
|
|
final readonly class {{ class }}
|
|
{
|
|
/**
|
|
* Execute the action.
|
|
*/
|
|
public function execute()
|
|
{
|
|
// Your logic here
|
|
}
|
|
}
|