Completed
Pull Request — master (#9)
by ARCANEDEV
04:52
created

DirectoryCreated   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 30
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0
ccs 4
cts 4
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php namespace Arcanesoft\Media\Events;
2
3
/**
4
 * Class     DirectoryCreated
5
 *
6
 * @package  Arcanesoft\Media\Events
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class DirectoryCreated
10
{
11
    /* -----------------------------------------------------------------
12
     |  Properties
13
     | -----------------------------------------------------------------
14
     */
15
16
    /** @var  string */
17
    public $path;
18
19
    /** @var  bool */
20
    public $created;
21
22
    /* -----------------------------------------------------------------
23
     |  Constructor
24
     | -----------------------------------------------------------------
25
     */
26
27
    /**
28
     * DirectoryCreated constructor.
29
     *
30
     * @param  string  $path
31
     * @param  bool    $created
32
     */
33 8
    public function __construct($path, $created)
34
    {
35 8
        $this->path    = $path;
36 8
        $this->created = $created;
37 8
    }
38
}
39