Completed
Push — master ( d1819c...ab433b )
by Gaetano
06:55
created

FileField::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
namespace Kaliop\eZMigrationBundle\Core\ComplexField;
4
5
use eZ\Publish\Core\IO\UrlDecorator;
6
7
class FileField extends AbstractComplexField
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