Property | Type | Description | |
---|---|---|---|
$timestamps | boolean | Indicates if the model should be timestamped. |
Property | Type | Description | |
---|---|---|---|
$closureTable | string | The pivot table associated with the model. | |
$fillable | array | The attributes that are mass assignable. | |
$table | string | The table associated with the model. |
Method | Description | |
---|---|---|
category ( ) : |
Alias aggregator | |
getAggregatorKeyName ( ) : string | Get the aggregator key name for model | |
getAggregatorModel ( ) : string | Get the aggregator model name for model | |
getAncestorName ( ) : string | Get the ancestor key name of pivot table | |
getChildren ( ) : Illuminate\Database\Eloquent\Collection | Get a children collection of model | |
getClosureTable ( ) : string | Get the pivot table for model's hierarchy | |
getDepthName ( ) : string | Get the depth key name of pivot table | |
getDescendantName ( ) : string | Get the descendant key name of pivot table | |
getOrderKeyName ( ) : string | Get the order key name for model | |
getParentIdName ( ) : string | Get the parent key name for model |
public category ( ) : |
||
return |
public getAggregatorKeyName ( ) : string | ||
return | string |
public getAggregatorModel ( ) : string | ||
return | string |
public getAncestorName ( ) : string | ||
return | string |
public getChildren ( ) : Illuminate\Database\Eloquent\Collection | ||
return | Illuminate\Database\Eloquent\Collection |
public getClosureTable ( ) : string | ||
return | string |
public getDepthName ( ) : string | ||
return | string |
public getDescendantName ( ) : string | ||
return | string |
public getOrderKeyName ( ) : string | ||
return | string |
public getParentIdName ( ) : string | ||
return | string |
protected string $closureTable | ||
return | string |
protected array $fillable | ||
return | array |
protected string $table | ||
return | string |
public bool $timestamps | ||
return | boolean |