Passed
Push — master ( 390e69...70fcf7 )
by Ferry
03:11
created

ImageModel::getEncrypt()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: User
5
 * Date: 4/21/2019
6
 * Time: 10:51 PM
7
 */
8
9
namespace crocodicstudio\crudbooster\types\image;
10
11
use crocodicstudio\crudbooster\models\ColumnModel;
12
13
class ImageModel extends ColumnModel
14
{
15
16
    private $encrypt;
17
    private $resize_width;
18
    private $resize_height;
19
20
    /**
21
     * @return mixed
22
     */
23
    public function getEncrypt()
24
    {
25
        return $this->encrypt;
26
    }
27
28
    /**
29
     * @param mixed $encrypt
30
     */
31
    public function setEncrypt($encrypt)
32
    {
33
        $this->encrypt = $encrypt;
34
    }
35
36
    /**
37
     * @return mixed
38
     */
39
    public function getResizeWidth()
40
    {
41
        return $this->resize_width;
42
    }
43
44
    /**
45
     * @param mixed $resize_width
46
     */
47
    public function setResizeWidth($resize_width)
48
    {
49
        $this->resize_width = $resize_width;
50
    }
51
52
    /**
53
     * @return mixed
54
     */
55
    public function getResizeHeight()
56
    {
57
        return $this->resize_height;
58
    }
59
60
    /**
61
     * @param mixed $resize_height
62
     */
63
    public function setResizeHeight($resize_height)
64
    {
65
        $this->resize_height = $resize_height;
66
    }
67
68
69
70
}