void addHidden(array|string|null $attributes = null) Add hidden attributes for the model. Parameters array|string|null $attributes Return Value void
static mixed addGlobalScope(Scope|Closure|string $scope, Closure $implementation = null) Register a new global scope on the model. Parameters Scope|Closure|string $scope Closure $implementation Return Value mixed Exceptions InvalidArgumentException
Pivot class Pivot extends Model (View source) Constants CREATED_AT The name of the "created at" column. UPDATED_AT The name of the "updated at" column.
void __construct(Application $app) Create a new service provider instance. Parameters Application $app Return Value void
mixed __call(string $method, array $parameters) Dynamically handle missing method calls. Parameters string $method array $parameters Return Value mixed
array when() Get the events that trigger this service provider to register. Return Value array
void register() Register the service provider. Return Value void
array provides() Get the services provided by the provider. Return Value array
static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. Parameters string $provider string $group Return Value array
bool isDeferred() Determine if the provider is deferred. Return Value bool
Page 352 of 996