Passed
Pull Request — master (#17)
by ARCANEDEV
05:21
created

DirectoryItem   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 2
c 1
b 0
f 0
dl 0
loc 14
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A type() 0 3 1
A load() 0 2 1
1
<?php namespace Arcanesoft\Media\Entities;
2
3
/**
4
 * Class     DirectoryItem
5
 *
6
 * @package  Arcanesoft\Media\Entities
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class DirectoryItem extends MediaItem
10
{
11
    /* -----------------------------------------------------------------
12
     |  Main Methods
13
     | -----------------------------------------------------------------
14
     */
15
16
    public function type(): string
17
    {
18
        return static::TYPE_DIRECTORY;
19
    }
20
21
    protected function load(array $data, string $path)
22
    {
23
        // TODO: Implement load() method.
24
    }
25
}
26