Passed
Pull Request — master (#225)
by
unknown
04:29
created

FileFieldHandler   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 9
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 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
12
    public function __construct($ioRootDir, UrlDecorator $ioDecorator=null)
13
    {
14
        $this->ioRootDir = $ioRootDir;
15
        $this->ioDecorator = $ioDecorator;
16
    }
17
}
18