Passed
Push — main ( 7f60ea...60225c )
by Thierry
08:29
created

TableElement   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 4
c 1
b 0
f 0
dl 0
loc 25
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A style() 0 3 1
A responsive() 0 3 1
1
<?php
2
3
namespace Lagdo\UiBuilder\Element\Html;
4
5
use Lagdo\UiBuilder\Builder\Html\Element;
6
use Lagdo\UiBuilder\Element\TableInterface;
7
8
class TableElement extends Element implements TableInterface
9
{
10
    /**
11
     * @var string
12
     */
13
    public static string $tag = 'table';
14
15
    /**
16
     * @param bool $responsive
17
     *
18
     * @return static
19
     */
20
    public function responsive(bool $responsive = true): static
21
    {
22
        return $this;
23
    }
24
25
    /**
26
     * @param string $style
27
     *
28
     * @return static
29
     */
30
    public function style(string $style): static
31
    {
32
        return $this;
33
    }
34
}
35