PageWasCreated   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 17
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php namespace Modules\Page\Events;
2
3
class PageWasCreated
4
{
5
    /**
6
     * @var array
7
     */
8
    public $data;
9
    /**
10
     * @var int
11
     */
12
    public $pageId;
13
14
    public function __construct($pageId, array $data)
15
    {
16
        $this->data = $data;
17
        $this->pageId = $pageId;
18
    }
19
}
20