setButtonPluginManager()   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
 * @company MTE Telecom, Ltd.
4
 * @author Ushkov Nikolai <[email protected]>
5
 * Date: 19.04.16
6
 * Time: 13:10
7
 */
8
9
namespace Nnx\DataGrid\Button;
10
11
/**
12
 * Class GridButtonPluginManagerAwareTrait
13
 * @package Nnx\DataGrid\Button
14
 */
15
trait GridButtonPluginManagerAwareTrait
16
{
17
    /**
18
     * Мэнеджер колонок
19
     * @var GridButtonPluginManager
20
     */
21
    protected $buttonPluginManager;
22
23
    /**
24
     * Возвращает менеджер колонок
25
     * @return GridButtonPluginManager
26
     */
27
    public function getButtonPluginManager()
28
    {
29
        return $this->buttonPluginManager;
30
    }
31
32
    /**
33
     * Устанавливает мэнджер колонок
34
     * @param GridButtonPluginManager $buttonPluginManager
35
     * @return $this
36
     */
37
    public function setButtonPluginManager(GridButtonPluginManager $buttonPluginManager)
38
    {
39
        $this->buttonPluginManager = $buttonPluginManager;
40
        return $this;
41
    }
42
}
0 ignored issues
show
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
43