SitemapServiceInterface
last analyzed

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
configureSettings() 0 1 ?
execute() 0 1 ?
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * (c) Christian Gripp <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Core23\SitemapBundle\Sitemap;
13
14
use Core23\SitemapBundle\Definition\SitemapDefinitionInterface;
15
use Core23\SitemapBundle\Model\UrlInterface;
16
use Symfony\Component\OptionsResolver\OptionsResolver;
17
18
interface SitemapServiceInterface
19
{
20
    public function configureSettings(OptionsResolver $resolver): void;
21
22
    /**
23
     * @return UrlInterface[]
24
     */
25
    public function execute(SitemapDefinitionInterface $sitemap): array;
26
}
27