Total Complexity | 1 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
11 | class UserNotificationBuilder extends QueryBuilder implements WhereUserInterface |
||
12 | { |
||
13 | use WhereUser; |
||
14 | |||
15 | /** |
||
16 | * @var EloquentModel|UserNotification |
||
17 | */ |
||
18 | protected $targetModel = UserNotification::class; |
||
19 | |||
20 | /** |
||
21 | * Scope Query to UserNotification's of a certain 'type'. |
||
22 | * |
||
23 | * @param string $type |
||
24 | * @param string $operator |
||
25 | * @param string $boolean |
||
26 | * @return $this |
||
27 | */ |
||
28 | public function whereType(string $type, string $operator = '=', string $boolean = 'and') |
||
35 |