Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 4 |
CRAP | |
0.00% |
0 / 1 |
| Sections | |
0.00% |
0 / 4 |
|
0.00% |
0 / 4 |
20 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| get_description | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| get_installation | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| get_changelog | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace BrianHenryIE\WP_Plugin_Updater\Integrations\SLSWC\Model; |
| 4 | |
| 5 | class Sections { |
| 6 | public function __construct( |
| 7 | protected string $description, |
| 8 | protected string $installation, |
| 9 | protected string $changelog |
| 10 | ) { |
| 11 | } |
| 12 | |
| 13 | public function get_description(): string { |
| 14 | return $this->description; |
| 15 | } |
| 16 | |
| 17 | public function get_installation(): string { |
| 18 | return $this->installation; |
| 19 | } |
| 20 | |
| 21 | public function get_changelog(): string { |
| 22 | return $this->changelog; |
| 23 | } |
| 24 | } |