Completed
Push — master ( 06b292...adafac )
by Nicolai
02:22
created

StringExpressionLanguageProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 14
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFunctions() 0 6 1
1
<?php
2
3
4
namespace SmartWeb\ModuleTesting\ExpressionLanguage\Providers;
5
6
use SmartWeb\ModuleTesting\ExpressionLanguage\Functions\String\Lowercase;
7
use Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface;
8
use function resolve;
9
10
11
/**
12
 * Class StringExpressionLanguageProvider
13
 *
14
 * @package SmartWeb\Testing\ExpressionLanguage\Providers
15
 */
16
class StringExpressionLanguageProvider implements ExpressionFunctionProviderInterface
17
{
18
    
19
    /**
20
     * @inheritDoc
21
     */
22
    public function getFunctions()
23
    {
24
        return [
25
            resolve(Lowercase::class),
26
        ];
27
    }
28
    
29
}