Passed
Push — master ( 9f8c7e...02cf08 )
by kicaj
08:07
created

MaxFileSizeExceededException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 3
1
<?php
2
namespace File\Exception;
3
4
use Cake\Core\Exception\Exception;
5
6
class MaxFileSizeExceededException extends Exception
7
{
8
9
    /**
10
     * {@inheritDoc}
11
     */
12
    public function __construct($message = 'The uploaded file exceeds the upload_max_filesize directive in php.ini', $code = 500, $previous = null)
13
    {
14
        parent::__construct($message, $code, $previous);
15
    }
16
}
17