@@ -9,6 +9,9 @@ |
||
| 9 | 9 | { |
| 10 | 10 | private $grids; |
| 11 | 11 | |
| 12 | + /** |
|
| 13 | + * @param string $name |
|
| 14 | + */ |
|
| 12 | 15 | public function __construct($name, array $grids) |
| 13 | 16 | { |
| 14 | 17 | parent::__construct($name); |
@@ -69,6 +69,9 @@ discard block |
||
| 69 | 69 | return $this; |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param string $alias |
|
| 74 | + */ |
|
| 72 | 75 | public function addAction(ActionInterface $action, $alias = null): self |
| 73 | 76 | { |
| 74 | 77 | $this->actions[$alias] = $action; |
@@ -76,6 +79,9 @@ discard block |
||
| 76 | 79 | return $this; |
| 77 | 80 | } |
| 78 | 81 | |
| 82 | + /** |
|
| 83 | + * @param string $alias |
|
| 84 | + */ |
|
| 79 | 85 | public function addFilter(FilterInterface $filter, $alias = null) |
| 80 | 86 | { |
| 81 | 87 | $this->filters[$alias] = $filter; |
@@ -83,6 +89,9 @@ discard block |
||
| 83 | 89 | return $this; |
| 84 | 90 | } |
| 85 | 91 | |
| 92 | + /** |
|
| 93 | + * @param string $alias |
|
| 94 | + */ |
|
| 86 | 95 | public function addColumn(ColumnInterface $column, $alias = null) |
| 87 | 96 | { |
| 88 | 97 | $this->columns[$alias] = $column; |