Search Results
App\Models\Depreciation Class Reference
Inheritance diagram for App\Models\Depreciation:

Public Member Functions | |
has_models () | |
has_licenses () | |
scopeTextSearch ($query, $search) | |
Query builder scope to search on text. More... | |
Protected Attributes | |
$rules | |
$injectUniqueIdentifier = true | |
$fillable = ['name','months'] | |
Detailed Description
Definition at line 7 of file Depreciation.php.
Member Function Documentation
App\Models\Depreciation::has_licenses | ( | ) |
Definition at line 39 of file Depreciation.php.
App\Models\Depreciation::has_models | ( | ) |
Definition at line 34 of file Depreciation.php.
App\Models\Depreciation::scopeTextSearch | ( | $query, | |
$search | |||
) |
Query builder scope to search on text.
- Parameters
-
Illuminate\Database\Query\Builder $query Query builder instance text $search Search term
- Returns
- Illuminate Modified query builder
Definition at line 52 of file Depreciation.php.
Member Data Documentation
|
protected |
Definition at line 30 of file Depreciation.php.
|
protected |
Definition at line 22 of file Depreciation.php.
|
protected |
Initial value:
= array(
'name' => 'required|min:3|max:255|unique:depreciations,name',
'months' => 'required|min:1|max:240|integer',
)
Definition at line 10 of file Depreciation.php.
The documentation for this class was generated from the following file: