Completed
Push — master ( e6ed9d...330f1c )
by Brent
17s queued 11s
created

QueueableActionServiceProvider::provides()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Spatie\QueueableAction;
4
5
use Illuminate\Support\ServiceProvider;
6
7
class QueueableActionServiceProvider extends ServiceProvider
8
{
9
    public function register(): void
10
    {
11
        if ($this->app->runningInConsole()) {
12
            $this->commands([
13
                ActionMakeCommand::class,
14
            ]);
15
        }
16
    }
17
18
    public function provides(): array
19
    {
20
        return [
21
            ActionMakeCommand::class,
22
        ];
23
    }
24
}
25