| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 15 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 56 | public function collect()  | 
            ||
| 57 |     { | 
            ||
| 58 |         if(! $this->data[$this->url->getWebUrl()]) { | 
            ||
| 59 | $this->data[$this->url->getWebUrl()] = [];  | 
            ||
| 60 | }  | 
            ||
| 61 | |||
| 62 | preg_match_all(self::REGEX, $this->content, $media);  | 
            ||
| 63 | $data = preg_replace(self::REGEX2, "$3", $media[0]);  | 
            ||
| 64 |         foreach($data as $url) { | 
            ||
| 65 | $this->data[$this->url->getWebUrl()][] =  | 
            ||
| 66 | UrlUtil::getAbsoluteLink($this->url, $url);  | 
            ||
| 67 | }  | 
            ||
| 68 | |||
| 69 | return $this;  | 
            ||
| 70 | }  | 
            ||
| 71 | |||
| 80 | }  |