Passed
Push — master ( 38a665...decd12 )
by Ferry
05:33
created

FileModel::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\file;
10
11
use crocodicstudio\crudbooster\models\ColumnModel;
12
13
class FileModel extends ColumnModel
14
{
15
16
17
    private $encrypt;
18
19
    /**
20
     * @return mixed
21
     */
22
    public function getEncrypt()
23
    {
24
        return $this->encrypt;
25
    }
26
27
    /**
28
     * @param boolean $encrypt
29
     */
30
    public function setEncrypt($encrypt): void
31
    {
32
        $this->encrypt = $encrypt;
33
    }
34
35
36
}