RelationOptions::setClonerName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
/**
3
 * @year    2016
4
 * @link    https://github.com/nnx-framework/cloner
5
 * @author  Lobanov Aleksandr <[email protected]>
6
 */
7
8
namespace Nnx\Cloner\Options\Cloner;
9
10
use Zend\Stdlib\AbstractOptions;
11
12
/**
13
 * Class RelationOptions
14
 *
15
 * @package Nnx\Cloner\Options
16
 */
17
class RelationOptions extends AbstractOptions
18
{
19
    /**
20
     * @var string название клонера для получения из ClonerManagerInterface
21
     */
22
    private $clonerName;
23
24
    /**
25
     * @return string
26
     */
27
    public function getClonerName()
28
    {
29
        return $this->clonerName;
30
    }
31
32
    /**
33
     * @param string $clonerName
34
     *
35
     * @return $this
36
     */
37
    public function setClonerName($clonerName)
38
    {
39
        $this->clonerName = $clonerName;
40
        return $this;
41
    }
42
}
43