Completed
Pull Request — master (#121)
by Vladimir
02:51 queued 01:05
created

Folder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFolderName() 0 4 1
1
<?php
2
3
namespace allejo\stakx\Filesystem;
4
5
/**
6
 * A representation of a folder on a given filesystem, virtual or physical.
7
 *
8
 * This class extends \SplFileInfo and adds new methods along with overriding some methods solely because I feel that
9
 * some of the naming can be misleading.
10
 *
11
 * @since 0.2.0
12
 */
13
final class Folder extends BaseFilesystemItem
14
{
15
    /**
16
     * Get the name of the with the extension.
17
     *
18
     * @since 0.2.0
19
     *
20
     * @return string
21
     */
22
    public function getFolderName()
23
    {
24
        return $this->getFullName();
25
    }
26
}
27