GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

SitemapServiceManagerInterface
last analyzed

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
get() 0 1 ?
addSitemap() 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
16
interface SitemapServiceManagerInterface
17
{
18
    /**
19
     * Return the block service linked to the link.
20
     */
21
    public function get(SitemapDefinitionInterface $definition): ?SitemapServiceInterface;
22
23
    /**
24
     * Adds a new sitemap service.
25
     */
26
    public function addSitemap(string $id, SitemapServiceInterface $service): void;
27
}
28