Passed
Pull Request — 2.x (#729)
by Antonio Carlos
06:06
created

MakeCapsule

Complexity

Total Complexity 0

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
dl 0
loc 30
ccs 0
cts 0
cp 0
c 1
b 0
f 0
wmc 0
1
<?php
2
3
namespace A17\Twill\Commands;
4
5
class MakeCapsule extends ModuleMake
6
{
7
    /**
8
     * The name and signature of the console command.
9
     *
10
     * @var string
11
     */
12
    protected $signature = 'twill:make:capsule {moduleName}
13
        {--B|hasBlocks}
14
        {--T|hasTranslation}
15
        {--S|hasSlug}
16
        {--M|hasMedias}
17
        {--F|hasFiles}
18
        {--P|hasPosition}
19
        {--R|hasRevisions}
20
        {--all}
21
        {--force}';
22
23
    /**
24
     * The console command description.
25
     *
26
     * @var string
27
     */
28
29
    protected $description = 'Create a new Twill Capsule';
30
31
    /**
32
     * @var bool
33
     */
34
    protected $isCapsule = true;
35
}
36