DirectoryDeleting   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

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