| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | abstract class AbstractWebResource extends AbstractInline |
||
| 22 | { |
||
| 23 | /** @var string */ |
||
| 24 | protected $url; |
||
| 25 | |||
| 26 | 921 | public function __construct(string $url) |
|
| 27 | { |
||
| 28 | 921 | parent::__construct(); |
|
| 29 | |||
| 30 | 921 | $this->url = $url; |
|
| 31 | 921 | } |
|
| 32 | |||
| 33 | 894 | public function getUrl(): string |
|
| 34 | { |
||
| 35 | 894 | return $this->url; |
|
| 36 | } |
||
| 37 | |||
| 38 | 36 | public function setUrl(string $url): void |
|
| 41 | 36 | } |
|
| 42 | } |
||
| 43 |