| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 49 | 2 | public function push(Url $url) |
|
| 50 | { |
||
| 51 | 2 | $this->logger->debug(sprintf('URL "%s" was added to sitemap.xml', $url->getLoc()), [ |
|
| 52 | 2 | 'changefreq' => $url->getChangeFreq(), |
|
| 53 | 2 | 'lastmod' => $url->getLastMod(), |
|
| 54 | 2 | 'priority' => $url->getPriority(), |
|
| 55 | ]); |
||
| 56 | 2 | ++$this->counter; |
|
| 57 | 2 | } |
|
| 58 | |||
| 67 |