AsBackgroundJobs.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Framework\Support\Facades\ActionScheduler; |
| 4 | |
| 5 | use Give\Framework\Support\Facades\Facade; |
| 6 | |
| 7 | /** |
| 8 | * @since 3.6.0 |
| 9 | * |
| 10 | * @since 4.0.0 getActionsByGroup - switch parameter $status position with $returnFormat position |
| 11 | * |
| 12 | * @method static int enqueueAsyncAction(string $hook, array $args, string $group, bool $unique = false, int $priority = 10) |
| 13 | * @method static array getActionByHookArgsGroup(string $hook, array $args, string $group, string $returnFormat = OBJECT, string $status = '') |
| 14 | * @method static array getActionsByGroup(string $group, string $status = '', string $returnFormat = OBJECT) |
| 15 | * @method static int deleteActionsByGroup(string $group, string $status = '') |
| 16 | */ |
| 17 | class AsBackgroundJobs extends Facade |
| 18 | { |
| 19 | protected function getFacadeAccessor(): string |
| 20 | { |
| 21 | return AsBackgroundJobsFacade::class; |
| 22 | } |
| 23 | } |
| 24 |