| Total Complexity | 4 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class PhpDocTag extends PhpTemplate |
||
| 6 | { |
||
| 7 | |||
| 8 | public $name; |
||
| 9 | public $value; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * PhpDocTag constructor. |
||
| 13 | * @param string $name |
||
| 14 | * @param string $value |
||
| 15 | */ |
||
| 16 | 13 | public function __construct($name, $value = '') |
|
| 17 | { |
||
| 18 | 13 | $this->name = $name; |
|
| 19 | 13 | $this->value = $value; |
|
| 20 | 13 | } |
|
| 21 | |||
| 22 | 12 | protected function toString() |
|
| 35 | PHP; |
||
| 36 | } |
||
| 39 | } |