Completed
Push — dev ( 240328...12a618 )
by
unknown
20:20
created

RelationOptions::getClonerName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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
/**
11
 * Class RelationOptions
12
 *
13
 * @package Nnx\Cloner\Options
14
 */
15
class RelationOptions
16
{
17
    /**
18
     * @var string название клонера для получения из ClonerManagerInterface
19
     */
20
    private $clonerName;
21
22
    /**
23
     * @return string
24
     */
25
    public function getClonerName()
26
    {
27
        return $this->clonerName;
28
    }
29
30
    /**
31
     * @param string $clonerName
32
     *
33
     * @return $this
34
     */
35
    public function setClonerName($clonerName)
36
    {
37
        $this->clonerName = $clonerName;
38
        return $this;
39
    }
40
}
41