Loader   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setOutput() 0 3 1
A getOutput() 0 3 1
1
<?php
2
3
namespace Coco\SourceWatcher\Core;
4
5
use Coco\SourceWatcher\Core\IO\Outputs\Output;
6
7
/**
8
 * Class Loader
9
 *
10
 * @package Coco\SourceWatcher\Core
11
 */
12
abstract class Loader extends Step
13
{
14
    protected ?Output $output = null;
15
16
    public function getOutput () : ?Output
17
    {
18
        return $this->output;
19
    }
20
21
    public function setOutput ( ?Output $output ) : void
22
    {
23
        $this->output = $output;
24
    }
25
26
    abstract public function load ( Row $row );
27
}
28