Collection   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 10
rs 10
ccs 3
cts 3
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A append() 0 4 1
1
<?php namespace C4tech\RayEmitter\Event;
2
3
use C4tech\RayEmitter\Contracts\Domain\Event as EventInterface;
4
use C4tech\RayEmitter\Contracts\Event\Collection as CollectionInterface;
5
use Illuminate\Support\Collection as BaseCollection;
6
7
class Collection extends BaseCollection implements CollectionInterface
8
{
9
    /**
10
     * @inheritDoc
11
     */
12 2
    public function append(EventInterface $event)
13
    {
14 2
        $this->push($event);
15 2
    }
16
}
17