PipelineServiceProvider::register()

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

PipelineServiceProvider::when()

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

PipelineServiceProvider::__call()

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

PipelineServiceProvider::__construct()

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

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.

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::addHidden()

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

Pivot::addObservableEvents()

void addObservableEvents(array|mixed $observables) Add an observable event name. Parameters array|mixed $observables Return Value void

Pivot::addVisible()

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

Pivot::all()

static Collection|Model[] all(array|mixed $columns = array('*')) Get all of the models from the database. Parameters array|mixed $columns Return Value Collection|Model[]