| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class Section implements IBuilder |
||
| 13 | { |
||
| 14 | use ItemTrait; |
||
| 15 | |||
| 16 | const IDENTIFIER = 'section'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @return string |
||
| 20 | */ |
||
| 21 | public function getIdentifier(): string |
||
| 22 | { |
||
| 23 | return static::IDENTIFIER; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param Entity $list |
||
| 28 | * |
||
| 29 | * @return Data |
||
| 30 | */ |
||
| 31 | public function build($list): IData |
||
| 39 | ); |
||
| 40 | } |
||
| 42 |