FolderIsRenaming   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 22
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A oldPath() 0 3 1
A newPath() 0 3 1
1
<?php
2
3
namespace UniSharp\LaravelFilemanager\Events;
4
5
class FolderIsRenaming
6
{
7
    private $old_path;
8
    private $new_path;
9
10
    public function __construct($old_path, $new_path)
11
    {
12
        $this->old_path = $old_path;
13
        $this->new_path = $new_path;
14
    }
15
16
    /**
17
     * @return string
18
     */
19
    public function oldPath()
20
    {
21
        return $this->old_path;
22
    }
23
24
    public function newPath()
25
    {
26
        return $this->new_path;
27
    }
28
}
29