| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | trait TMethod |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Set transfer method of form |
||
| 18 | * @param string $param |
||
| 19 | */ |
||
| 20 | 9 | public function setMethod(string $param): void |
|
| 24 | } |
||
| 25 | 9 | } |
|
| 26 | |||
| 27 | /** |
||
| 28 | * Get that method |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | 9 | public function getMethod(): string |
|
| 34 | } |
||
| 35 | |||
| 36 | abstract public function setAttribute(string $name, string $value): void; |
||
| 37 | |||
| 38 | abstract public function removeAttribute(string $name): void; |
||
| 39 | |||
| 40 | abstract public function getAttribute(string $name): ?string; |
||
| 41 | } |
||
| 42 |