AbstractMedia::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 1
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
dl 0
loc 1
ccs 1
cts 1
cp 1
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 0
crap 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