AbstractMedia   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 6
dl 0
loc 13
ccs 5
cts 5
cp 1
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 1 1
1
<?php
2
3
/*
4
 * This file is part of the pexels-library package.
5
 *
6
 * (c) 2019 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Library\Pexels\Model;
13
14
use WBW\Library\Traits\Integers\IntegerHeightTrait;
15
use WBW\Library\Traits\Integers\IntegerIdTrait;
16
use WBW\Library\Traits\Integers\IntegerWidthTrait;
17
use WBW\Library\Traits\Strings\StringUrlTrait;
18
19
/**
20
 * Abstract media.
21
 *
22
 * @author webeweb <https://github.com/webeweb>
23
 * @package WBW\Library\Pexels\Model
24
 * @abstract
25
 */
26
abstract class AbstractMedia {
27
28 1
    use IntegerHeightTrait;
29 1
    use IntegerIdTrait {
30
        setId as public;
31
    }
32 1
    use IntegerWidthTrait;
33 1
    use StringUrlTrait;
34
35
    /**
36
     * Constructor.
37
     */
38 115
    public function __construct() {
39
        // NOTHING TO DO
40 115
    }
41
}
42