Completed
Push — master ( 3ec9c1...244937 )
by Max
02:44
created

AbstractCommand   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 19
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace NFLScores\Commands;
4
5
use LaravelZero\Framework\Commands\Command;
6
use NFLScores\Models\NFL;
7
8
abstract class AbstractCommand extends Command
9
{
10
    /**
11
     * The NFL game handler.
12
     *
13
     * @var \NFLScores\Models\NFL
14
     */
15
    protected $NFL;
16
17
    /**
18
     * Injects the necessary dependencies.
19
     *
20
     * @param \NFLScores\Models\NFL $NFL
21
     */
22 27
    public function __construct(NFL $NFL)
23
    {
24 27
        parent::__construct();
25
26 27
        $this->NFL = $NFL;
27 27
    }
28
}
29