Passed
Push — master ( 46260f...cb5e2e )
by Jean Paul
01:23
created

Loader::setOutput()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Coco\SourceWatcher\Core;
4
5
use Coco\SourceWatcher\Core\IO\Outputs\Output;
6
7
abstract class Loader extends Step
8
{
9
    protected ?Output $output = null;
10
11
    public function getOutput () : ?Output
12
    {
13
        return $this->output;
14
    }
15
16
    public function setOutput ( ?Output $output ) : void
17
    {
18
        $this->output = $output;
19
    }
20
21
    abstract public function load ( Row $row );
22
}
23