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

FileModel   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setEncrypt() 0 3 1
A getEncrypt() 0 3 1
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
}