Property | Type | Description | |
---|---|---|---|
$timestamps | boolean | Indicates if the model should be timestamped. |
Property | Type | Description | |
---|---|---|---|
$fillable | array | The attributes that are mass assignable. | |
$itemModel | string | Category item model | |
$table | string | The table associated with the model. |
Method | Description | |
---|---|---|
getCountName ( ) : string | Get the count name for model | |
getItemModel ( ) : string | Get the category item model | |
getProgenitors ( ) : Illuminate\Database\Eloquent\Collection | Get category items of root level | |
setItemModel ( string $model ) : void | Set the category item model |
public getCountName ( ) : string | ||
return | string |
public getItemModel ( ) : string | ||
return | string |
public getProgenitors ( ) : Illuminate\Database\Eloquent\Collection | ||
return | Illuminate\Database\Eloquent\Collection |
public static setItemModel ( string $model ) : void | ||
$model | string | model name |
return | void |
protected array $fillable | ||
return | array |
protected static string $itemModel | ||
return | string |
protected string $table | ||
return | string |
public bool $timestamps | ||
return | boolean |