DefintionManagerInterface
last analyzed

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
getAll() 0 1 ?
addDefinition() 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\Definition;
13
14
interface DefintionManagerInterface
15
{
16
    /**
17
     * Returns the sitemaps.
18
     *
19
     * @return array<string, SitemapDefinitionInterface>
0 ignored issues
show
Documentation introduced by core23
The doc-type array<string, could not be parsed: Expected ">" at position 5, but found "end of type". (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
20
     */
21
    public function getAll(): array;
22
23
    /**
24
     * Adds a sitemap definition.
25
     */
26
    public function addDefinition(string $id, array $configuration = []): self;
27
}
28