MetadataInterface::getTitle()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Sonata Project package.
7
 *
8
 * (c) Thomas Rabaix <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Sonata\AdminBundle\Object;
15
16
interface MetadataInterface
17
{
18
    public function getTitle(): string;
19
20
    public function getDescription(): ?string;
21
22
    public function getImage(): ?string;
23
24
    public function getDomain(): ?string;
25
26
    /**
27
     * @return array<string, mixed>
0 ignored issues
show
Documentation introduced by
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...
28
     */
29
    public function getOptions(): array;
30
31
    /**
32
     * @param string $name    The option key
33
     * @param mixed  $default The default value if option not found
34
     *
35
     * @return mixed
36
     */
37
    public function getOption($name, $default = null);
38
}
39