Completed
Push — ezp25946-migrate_files_to_othe... ( 3ba3f5...7b23be )
by
unknown
13:29
created

BinaryFileMigrationHandler   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A countFiles() 0 4 1
A loadFileData() 0 4 1
A migrateFile() 0 4 1
1
<?php
2
3
/**
4
 * File containing the BinaryFileMigrationHandler class.
5
 *
6
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
7
 * @license For full copyright and license information view LICENSE file distributed with this source code.
8
 */
9
namespace eZ\Bundle\EzPublishIOBundle\Migration\MigrationHandler;
10
11
use eZ\Bundle\EzPublishIOBundle\Migration\MigrationHandler;
12
13
class BinaryFileMigrationHandler extends MigrationHandler
14
{
15
    public function countFiles()
16
    {
17
        return 42; //TODO
18
    }
19
20
    public function loadFileData($bulkCount, $pass)
21
    {
22
        return []; //TODO
23
    }
24
25
    public function migrateFile($fileData)
26
    {
27
        return true;
28
    }
29
}
30