Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| FrmtrText | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| format | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * @author: Doug Wilbourne (dougwilbourne@gmail.com) |
| 5 | */ |
| 6 | |
| 7 | declare(strict_types=1); |
| 8 | |
| 9 | namespace pvc\frmtr\text; |
| 10 | |
| 11 | use pvc\frmtr\Frmtr; |
| 12 | |
| 13 | /** |
| 14 | * Class FrmtrText |
| 15 | * @extends Frmtr<string> |
| 16 | */ |
| 17 | class FrmtrText extends Frmtr |
| 18 | { |
| 19 | /** |
| 20 | * format |
| 21 | * @param string $value |
| 22 | * @return string |
| 23 | */ |
| 24 | public function format($value): string |
| 25 | { |
| 26 | return (string)$value; |
| 27 | } |
| 28 | } |