Completed
Pull Request — master (#7)
by
unknown
01:16
created

ActionMakeCommand::getStub()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Spatie\QueueableAction\Commands;
4
5
use Illuminate\Console\GeneratorCommand;
6
7
class ActionMakeCommand extends GeneratorCommand
8
{
9
	protected $name = 'make:action';
10
11
	protected $description = 'Create a new action class';
12
13
	protected $type = 'Action';
14
15
	protected function getStub()
16
	{
17
        return __DIR__.'/../../stubs/action.stub';
18
    }
19
20
	protected function getDefaultNamespace($rootNamespace)
21
	{
22
		return $rootNamespace.'\Actions';
23
	}
24
}
25