TicketDirIndexedEvent::indexedDir()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace AppBuilder\Event\Application;
6
7
use Symfony\Component\EventDispatcher\Event;
8
9
class TicketDirIndexedEvent extends Event
10
{
11
    /** @var string */
12
    public const NAME = 'ticket.dir.indexed';
13
14
    /** @var array */
15
    private $indexedDir;
16
17
    public function __construct(array $indexedDir)
18
    {
19
        $this->indexedDir = $indexedDir;
20
    }
21
22
    public function indexedDir() : array
23
    {
24
        return $this->indexedDir;
25
    }
26
}
27