Completed
Push — master ( a8b0f0...2d3658 )
by Freek
03:08 queued 01:42
created

ListCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 20
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A handle() 0 3 1
1
<?php
2
3
namespace Spatie\EventProjector\Console;
4
5
use Illuminate\Console\Command;
6
use Illuminate\Support\Collection;
7
use Spatie\EventProjector\EventProjectionist;
8
use Spatie\EventProjector\Models\StoredEvent;
9
use Spatie\EventProjector\Projectors\Projector;
10
use Spatie\EventProjector\Exceptions\InvalidEventHandler;
11
12
class ListCommand extends Command
13
{
14
    protected $signature = 'event-projector:list';
15
16
    protected $description = 'List all event projectors';
17
18
    /** @var \Spatie\EventProjector\EventProjectionist */
19
    protected $eventProjectionist;
20
21
    public function __construct(EventProjectionist $eventProjectionist)
22
    {
23
        parent::__construct();
24
25
        $this->eventProjectionist = $eventProjectionist;
26
    }
27
28
    public function handle()
29
    {
30
    }
31
}
32