AbstractTask::run()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
ccs 0
cts 0
cp 0
c 0
b 0
f 0
nc 1
1
<?php
2
3
namespace Assimtech\Tempo\Task;
4
5
use Symfony\Component\Console\Input\InputInterface;
6
use Symfony\Component\Console\Output\OutputInterface;
7
8
abstract class AbstractTask
9
{
10
    /** @var \Symfony\Component\Console\Input\InputInterface $input */
11
    protected $input;
12
13
    /** @var \Symfony\Component\Console\Output\OutputInterface $output */
14
    protected $output;
15
16 1
    public function __construct(InputInterface $input, OutputInterface $output)
17
    {
18 1
        $this->input = $input;
19 1
        $this->output = $output;
20 1
    }
21
22
    /**
23
     * Perform the task
24
     */
25
    abstract public function run();
26
}
27