Pivot::addHidden()

void addHidden(array|string|null $attributes = null) Add hidden attributes for the model. Parameters array|string|null $attributes Return Value void

Pivot::addGlobalScope()

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

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.

PipelineServiceProvider::__construct()

void __construct(Application $app) Create a new service provider instance. Parameters Application $app Return Value void

PipelineServiceProvider::__call()

mixed __call(string $method, array $parameters) Dynamically handle missing method calls. Parameters string $method array $parameters Return Value mixed

PipelineServiceProvider::when()

array when() Get the events that trigger this service provider to register. Return Value array

PipelineServiceProvider::register()

void register() Register the service provider. Return Value void

PipelineServiceProvider::provides()

array provides() Get the services provided by the provider. Return Value array

PipelineServiceProvider::pathsToPublish()

static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. Parameters string $provider string $group Return Value array

PipelineServiceProvider::isDeferred()

bool isDeferred() Determine if the provider is deferred. Return Value bool