Documentation

DelegatesToResource

Table of Contents

__call()  : mixed
Dynamically pass method calls to the underlying resource.
__get()  : mixed
Dynamically get properties from the underlying resource.
__isset()  : bool
Determine if an attribute exists on the resource.
__unset()  : void
Unset an attribute on the resource.
getRouteKey()  : mixed
Get the value of the resource's route key.
getRouteKeyName()  : string
Get the route key for the resource.
offsetExists()  : bool
Determine if the given attribute exists.
offsetGet()  : mixed
Get the value for a given offset.
offsetSet()  : void
Set the value for a given offset.
offsetUnset()  : void
Unset the value for a given offset.
resolveRouteBinding()  : void
Retrieve the model for a bound value.

Methods

__call()

Dynamically pass method calls to the underlying resource.

public __call(string $method, array<string|int, mixed> $parameters) : mixed
Parameters
$method : string
$parameters : array<string|int, mixed>
Return values
mixed

__get()

Dynamically get properties from the underlying resource.

public __get(string $key) : mixed
Parameters
$key : string
Return values
mixed

__isset()

Determine if an attribute exists on the resource.

public __isset(string $key) : bool
Parameters
$key : string
Return values
bool

__unset()

Unset an attribute on the resource.

public __unset(string $key) : void
Parameters
$key : string
Return values
void

getRouteKey()

Get the value of the resource's route key.

public getRouteKey() : mixed
Return values
mixed

getRouteKeyName()

Get the route key for the resource.

public getRouteKeyName() : string
Return values
string

offsetExists()

Determine if the given attribute exists.

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

Get the value for a given offset.

public offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed
Return values
mixed

offsetSet()

Set the value for a given offset.

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed
Return values
void

offsetUnset()

Unset the value for a given offset.

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed
Return values
void

resolveRouteBinding()

Retrieve the model for a bound value.

public resolveRouteBinding(mixed $value) : void
Parameters
$value : mixed
Tags
throws
Exception
Return values
void

Search results