| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class Native extends AbstractIO |
||
| 16 | {
|
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string|string[] |
||
| 20 | */ |
||
| 21 | protected $content; |
||
| 22 | |||
| 23 | protected $configDefaults = [ |
||
| 24 | 'line_separator' => "\n", |
||
| 25 | ]; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param string $content |
||
| 29 | */ |
||
| 30 | 2 | public function __construct($content = '') |
|
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc}
|
||
| 37 | */ |
||
| 38 | 2 | public function setContent($content) |
|
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc}
|
||
| 45 | */ |
||
| 46 | 1 | public function getContent() |
|
| 59 |