NoOpLoader   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 12
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A exec() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of YaEtl
5
 *     (c) Fabrice de Stefanis / https://github.com/fab2s/YaEtl
6
 * This source file is licensed under the MIT license which you will
7
 * find in the LICENSE file or at https://opensource.org/licenses/MIT
8
 */
9
10
namespace fab2s\YaEtl\Loaders;
11
12
/**
13
 * Class NoOpLoader
14
 */
15
class NoOpLoader extends LoaderAbstract
16
{
17
    /**
18
     * Execute the dumbest loader
19
     *
20
     * @param mixed $record
21
     *
22
     * @return bool
23
     */
24
    public function exec($record = null)
25
    {
26
        return !empty($record);
27
    }
28
}
29