ImageRuleConfiguration
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0
wmc 0
lcom 0
cbo 1
1
<?php
2
3
4
namespace HustleWorks\Chute\DTO;
5
6
/**
7
 * ImageRuleConfiguration
8
 *
9
 * Configuration settings for image upload rules
10
 *
11
 * @category DTO
12
 * @package  HustleWorks\Chute\DTO
13
 * @author   Don Herre <[email protected]>
14
 * @license  Proprietary and confidential
15
 * @link     http://hustleworks.com
16
 *
17
 * @property array $mime_types    parameters for each size needed for image upload
18
 * @property int   $min_width     minimum width for original uploaded file
19
 * @property int   $min_height    minimum height for original uploaded file
20
 * @property int   $max_width     maximum width for original uploaded file
21
 * @property int   $max_height    maximum height for original uploaded file
22
 */
23
class ImageRuleConfiguration extends TransferObject
24
{
25
    protected $mime_types = [];
26
    protected $min_width, $min_height, $max_width, $max_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
}