Total Complexity | 6 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php namespace FlatPlan\Components; |
||
3 | class Table extends AbstractComponent { |
||
4 | |||
5 | private $role; |
||
6 | |||
7 | protected $roles = ['table']; |
||
8 | |||
9 | /** |
||
10 | * @param string $role |
||
11 | * @return void |
||
12 | */ |
||
13 | public function __construct($role) |
||
14 | { |
||
15 | $this->setRole($role); |
||
16 | } |
||
17 | |||
18 | public function setRole($role) |
||
24 | } |
||
25 | |||
26 | public function getRole() |
||
29 | } |
||
30 | |||
31 | public function getComponent() |
||
36 | } |
||
37 | |||
38 | public function __toString() |
||
43 |