Completed
Push — master ( 26e625...88c602 )
by Timo
02:58
created

HasProcedureTrait::getProcedure()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the Tidal/WampWatch package.
5
 *   (c) 2016 Timo Michna <timomichna/yahoo.de>
6
 *
7
 *  For the full copyright and license information, please view the LICENSE
8
 *  file that was distributed with this source code.
9
 *
10
 */
11
12
namespace Tidal\WampWatch\Model\Property\Object;
13
14
use Tidal\WampWatch\Model\Contract;
15
16
trait HasProcedureTrait
17
{
18
    /**
19
     * @var Contract\ProcedureInterface
20
     */
21
    private $procedure;
22
23
    /**
24
     * @return Contract\ProcedureInterface
25
     */
26
    public function getProcedure()
27
    {
28
        return $this->procedure;
29
    }
30
31
    /**
32
     * @param Contract\ProcedureInterface $procedure
33
     */
34
    private function setProcedure(Contract\ProcedureInterface $procedure)
35
    {
36
        $this->procedure = $procedure;
37
    }
38
}
39