EventPageTitleProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setTitle() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Extension "sf_event_mgt" for TYPO3 CMS.
7
 *
8
 * For the full copyright and license information, please read the
9
 * LICENSE.txt file that was distributed with this source code.
10
 */
11
12
namespace DERHANSEN\SfEventMgt\PageTitle;
13
14
use TYPO3\CMS\Core\PageTitle\AbstractPageTitleProvider;
15
16
class EventPageTitleProvider extends AbstractPageTitleProvider
17
{
18
    public function setTitle(string $title): void
19
    {
20
        $this->title = $title;
21
    }
22
}
23