$wordpressPrefix
$wordpressPrefix : boolean
Add wordpressPrefix table name
Main class of the MocaBonita Model
newEloquentBuilder(\Illuminate\Database\Query\Builder $query) : \Illuminate\Database\Eloquent\Builder|\MocaBonita\tools\eloquent\MbDatabaseEloquentBuilder
Create a new Eloquent query builder for the model.
\Illuminate\Database\Query\Builder | $query |
newPivot(\Illuminate\Database\Eloquent\Model $parent, array $attributes, string $table, boolean $exists, null $using = null) : \MocaBonita\tools\eloquent\MbPivot
Create a new pivot model instance.
\Illuminate\Database\Eloquent\Model | $parent | |
array | $attributes | |
string | $table | |
boolean | $exists | |
null | $using |
newBaseQueryBuilder() : \MocaBonita\tools\eloquent\MbDatabaseQueryBuilder
New base query builder
validation(array $attributes) : array|\MocaBonita\tools\validation\MbValidation|null
Implement method to validation model
array | $attributes |