Completed
Pull Request — master (#1)
by Fabrice
03:41
created

ExtractorAbstract::getNumExtract()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
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\Extractors;
11
12
use fab2s\NodalFlow\Nodes\NodeAbstract;
13
14
/**
15
 * Class ExtractorAbstract
16
 */
17
abstract class ExtractorAbstract extends NodeAbstract implements ExtractorInterface
18
{
19
    /**
20
     * This is a Traversable
21
     *
22
     * @var bool
23
     */
24
    protected $isATraversable = true;
25
26
    /**
27
     * This is a returning value
28
     *
29
     * @var bool
30
     */
31
    protected $isAReturningVal = true;
32
33
    /**
34
     * This is not a Flow
35
     *
36
     * @var bool
37
     */
38
    protected $isAFlow = false;
39
40
    /**
41
     * @var array
42
     */
43
    protected $nodeIncrements = [
44
        'num_records' => 'num_iterate',
45
        'num_extract' => 0,
46
    ];
47
}
48