FolderIsRenaming::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
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