ActionAwareInterface::addAction()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
/**
3
 * @company MTE Telecom, Ltd.
4
 * @author Roman Malashin <[email protected]>
5
 */
6
7
namespace Nnx\DataGrid\Column;
8
9
use Nnx\DataGrid\Column\Action\ActionInterface;
10
11
/**
12
 * Interface ActionAwareInterface
13
 * @package Nnx\DataGrid\Column
14
 */
15
interface ActionAwareInterface
16
{
17
    /**
18
     * Получает набор действий
19
     * @return array
20
     */
21
    public function getActions();
22
23
    /**
24
     * Добавляет действия
25
     * @param array $actions
26
     * @return $this
27
     */
28
    public function setActions($actions);
29
30
    /**
31
     * Добавляет действие в колонку
32
     * @param array|ActionInterface $action
33
     * @return mixed
34
     */
35
    public function addAction($action);
36
}
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...
37