Passed
Branch main (a5ccba)
by Gaetano
04:40
created

FileFieldHandler   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 11
ccs 4
cts 4
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Kaliop\eZMigrationBundle\Core\FieldHandler;
4
5
use eZ\Publish\Core\IO\UrlDecorator;
6
7
class FileFieldHandler extends AbstractFieldHandler
8
{
9
    protected $ioRootDir;
10
    protected $ioDecorator;
11
    protected $ioService;
12
13 149
    public function __construct($ioRootDir, UrlDecorator $ioDecorator=null, $ioService=null)
14
    {
15 149
        $this->ioRootDir = $ioRootDir;
16 149
        $this->ioDecorator = $ioDecorator;
17 149
        $this->ioService = $ioService;
18 149
    }
19
}
20