Exception::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php 
2
3
namespace Hideyo\Ecommerce\Framework\Models;
4
5
use Hideyo\Ecommerce\Framework\Services\BaseModel;
6
7
class Exception extends BaseModel
8
{
9
    /**
10
     * The database table used by the model.
11
     *
12
     * @var string
13
     */
14
    protected $table = 'exception';
15
16
    // Add the 'avatar' attachment to the fillable array so that it's mass-assignable on this model.
17
    protected $fillable = ['id', 'class'];
18
19
    public function __construct(array $attributes = array())
20
    {
21
        $this->table = $this->table;        
22
        parent::__construct($attributes);
23
    }
24
}
25