ModuleOptions::getCloners()   A
last analyzed

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
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * @link    https://github.com/nnx-framework/cloner
4
 * @author  Malofeykin Andrey  <[email protected]>
5
 */
6
namespace Nnx\Cloner\Options;
7
8
use Zend\Stdlib\AbstractOptions;
9
use Nnx\ModuleOptions\ModuleOptionsInterface;
10
11
/**
12
 * Class ModuleOptions
13
 *
14
 * @package Nnx\Cloner\Options
15
 */
16
class ModuleOptions extends AbstractOptions implements ModuleOptionsInterface
17
{
18
    /**
19
     * @var array
20
     */
21
    private $cloners = [];
22
23
    /**
24
     * @return array
25
     */
26
    public function getCloners()
27
    {
28
        return $this->cloners;
29
    }
30
31
    /**
32
     * @param array $cloners
33
     *
34
     * @return $this
35
     */
36
    public function setCloners($cloners)
37
    {
38
        $this->cloners = $cloners;
39
        return $this;
40
    }
41
}
42