Passed
Push — master ( 757b9a...3f7054 )
by
unknown
05:20 queued 02:36
created

DocumentTypeProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
 * (c) Kitodo. Key to digital objects e.V. <[email protected]>
5
 *
6
 * This file is part of the Kitodo and TYPO3 projects.
7
 *
8
 * @license GNU General Public License version 3 or later.
9
 * For the full copyright and license information, please read the
10
 * LICENSE.txt file that was distributed with this source code.
11
 */
12
13
namespace Kitodo\Dlf\ExpressionLanguage;
14
15
use TYPO3\CMS\Core\ExpressionLanguage\AbstractProvider;
16
use TYPO3\CMS\Core\ExpressionLanguage\FunctionsProvider\Typo3ConditionFunctionsProvider;
17
18
/**
19
 * Wrapper class to provide variables and functions for the ExpressionLanguage.
20
 *
21
 * @author Alexander Bigga <[email protected]>
22
 * @package TYPO3
23
 * @subpackage dlf
24
 * @access public
25
 */
26
class DocumentTypeProvider extends AbstractProvider
27
{
28
    public function __construct()
29
    {
30
        $this->expressionLanguageProviders = [
31
            DocumentTypeFunctionProvider::class
32
        ];
33
    }
34
}
35