Test Failed
Push — master ( f562c0...ed7d3a )
by Dominik
02:11
created

CourseSearchMapping   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 26
rs 10
c 0
b 0
f 0
wmc 3
lcom 0
cbo 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getClass() 0 4 1
A getConstraints() 0 4 1
A getPropertyMappings() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Chubbyphp\ApiSkeleton\Validation;
6
7
use Chubbyphp\Validation\Constraint\ConstraintInterface;
8
use Chubbyphp\Validation\Mapping\PropertyMappingInterface;
9
use Chubbyphp\Validation\Mapping\ObjectMappingInterface;
10
use Chubbyphp\ApiSkeleton\Search\CourseSearch;
11
12
final class CourseSearchMapping implements ObjectMappingInterface
13
{
14
    /**
15
     * @return string
16
     */
17
    public function getClass(): string
18
    {
19
        return CourseSearch::class;
20
    }
21
22
    /**
23
     * @return ConstraintInterface[]
24
     */
25
    public function getConstraints(): array
26
    {
27
        return [];
28
    }
29
30
    /**
31
     * @return PropertyMappingInterface[]
32
     */
33
    public function getPropertyMappings(): array
34
    {
35
        return [];
36
    }
37
}
38