We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 453f28a commit 0919604Copy full SHA for 0919604
README.md
@@ -1,5 +1,7 @@
1
# Laravel DB Blade
2
3
+[](https://travis-ci.org/kiroushi/laravel-db-blade)
4
+[](https://scrutinizer-ci.com/g/kiroushi/laravel-db-blade/?branch=master)
5
6
## Render Blade templates from Eloquent Model Fields
7
src/Models/DbView.php
@@ -7,9 +7,9 @@
class DbView extends Model
8
{
9
10
- public function __construct()
+ public function __construct(array $attributes = [])
11
12
- parent::__construct(...func_get_args());
+ parent::__construct($attributes);
13
14
$this->setTable(config('db-blade.table_name'));
15
}
0 commit comments