Conditions | 2 |
Paths | 2 |
Total Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
41 | public function getUrls(): ObjectArray |
||
42 | { |
||
43 | $urls = [ |
||
44 | 'https://magento.com', |
||
45 | 'https://marketplace.magento.com', |
||
46 | 'https://u.magento.com', |
||
47 | 'https://devdocs.magento.com', |
||
48 | 'https://github.com/magento/magento2', |
||
49 | 'https://pl.meet-magento.com/pl/' |
||
50 | ]; |
||
51 | |||
52 | $urlObjectArray = $this->objectArrayFactory->create(UrlInterface::class); |
||
53 | foreach ($urls as $url) { |
||
54 | $urlObjectArray->add(new Url($url)); |
||
55 | } |
||
56 | return $urlObjectArray; |
||
57 | } |
||
58 | } |
||
59 |