ImageFile
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 1
dl 0
loc 4
c 0
b 0
f 0
1
<?php
2
3
namespace HustleWorks\Chute\DTO;
4
5
/**
6
 * ImageFile
7
 *
8
 * This transfer object give details for an Image File
9
 *
10
 * @category TransferObject
11
 * @package  HustleWorks\Chute\DTO
12
 * @author   Don Herre <[email protected]>
13
 * @license  Proprietary and confidential
14
 * @link     http://hustleworks.com
15
 *
16
 * @property string $stream;
17
 * @property string $filename
18
 * @property int    $size
19
 * @property int    $width
20
 * @property int    $height
21
 * @property string $mime_type
22
 * @property string $extension
23
 */
24
class ImageFile extends TransferObject
25
{
26
    protected $stream, $filename, $extension, $mime_type, $size, $width, $height;
0 ignored issues
show
Coding Style introduced by
It is generally advisable to only define one property per statement.

Only declaring a single property per statement allows you to later on add doc comments more easily.

It is also recommended by PSR2, so it is a common style that many people expect.

Loading history...
27
}