Completed
Pull Request — master (#4)
by Oyebanji Jacob
08:04 queued 05:49
created

ModelNotFoundException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
c 2
b 1
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Pyjac\ORM\Exception;
4
5
class ModelNotFoundException extends \Exception
6
{
7
    public function __construct($id)
8
    {
9
        parent::__construct('The requested Model with '.$id.' does not exist');
10
    }
11
}
12