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

RelationOptions   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 26
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getClonerName() 0 4 1
A setClonerName() 0 5 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
/**
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