Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
76 | public function __construct( |
||
77 | array $values = [], |
||
78 | string $rel = '', |
||
79 | string $href = '', |
||
80 | string $method = 'get', |
||
81 | string $title = '', |
||
82 | string $crawl = '', |
||
83 | ) { |
||
84 | $this->rel = $values['rel'] ?? $rel; |
||
85 | $this->href = $values['href'] ?? $href; |
||
86 | $this->method = $values['method'] ?? $method; |
||
87 | $this->title = $values['title'] ?? $title; |
||
88 | $this->crawl = $values['crawl'] ?? $crawl; |
||
89 | } |
||
91 |