Completed
Push — master ( 7381e1...0d723c )
by Korvin
02:16
created

ListPackages   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 24
c 0
b 0
f 0
wmc 2
lcom 0
cbo 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCli() 0 4 1
A setCli() 0 5 1
1
<?php
2
3
namespace Buttress\Concrete\CommandBus\Command\Package;
4
5
class ListPackages
6
{
7
8
    /** @var \League\CLImate\CLImate */
9
    protected $cli;
10
11
    /**
12
     * @return \League\CLImate\CLImate
13
     */
14
    public function getCli()
15
    {
16
        return $this->cli;
17
    }
18
19
    /**
20
     * @param \League\CLImate\CLImate $cli
21
     * @return ListPackages
22
     */
23
    public function setCli($cli)
24
    {
25
        $this->cli = $cli;
26
        return $this;
27
    }
28
}
29