Completed
Push — master ( 922e8a...cfbc00 )
by Akihito
02:15
created

MinifiedTask   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 4
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 37
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getCallable() 0 4 1
A getArgs() 0 4 1
A getTag() 0 4 1
1
<?php
2
namespace Ackintosh\Snidel\Task;
3
4
use Ackintosh\Snidel\Task\TaskInterface;
5
6
class MinifiedTask implements TaskInterface
7
{
8
    /** @var string */
9
    private $tag;
10
11
    /**
12
     * @param   string  $tag
13
     */
14
    public function __construct($tag)
15
    {
16
        $this->tag = $tag;
17
    }
18
19
    /**
20
     * @return  null
21
     */
22
    public function getCallable()
23
    {
24
        return;
25
    }
26
27
    /**
28
     * @return  null
29
     */
30
    public function getArgs()
31
    {
32
        return;
33
    }
34
35
    /**
36
     * @return  string
37
     */
38
    public function getTag()
39
    {
40
        return $this->tag;
41
    }
42
}
43