DtoExtractorTrait   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A setDtoExtractor() 0 4 1
1
<?php
2
/*
3
 * This file is part of the StfalconApiBundle.
4
 *
5
 * (c) Stfalcon LLC <stfalcon.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
declare(strict_types=1);
12
13
namespace StfalconStudio\ApiBundle\Traits;
14
15
use StfalconStudio\ApiBundle\Request\DtoExtractor;
16
17
/**
18
 * DtoExtractorTrait.
19
 */
20
trait DtoExtractorTrait
21
{
22
    /** @var DtoExtractor */
23
    protected $dtoExtractor;
24
25
    /**
26
     * @param DtoExtractor $dtoExtractor
27
     *
28
     * @required
29
     */
30
    public function setDtoExtractor(DtoExtractor $dtoExtractor): void
31
    {
32
        $this->dtoExtractor = $dtoExtractor;
33
    }
34
}
35