ResolvesCallables
trait ResolvesCallables
Methods
mixed
invokeCallable(callable $value)
Invoke a value whose public contract guarantees it is callable.
mixed
resolveCallable(mixed $value)
Call the given value if callable and inject its dependencies.
bool
useAsCallable(mixed $value)
Determine if the given value is callable, but not a string.
Details
at line 14
protected mixed
invokeCallable(callable $value)
Invoke a value whose public contract guarantees it is callable.
at line 22
protected mixed
resolveCallable(mixed $value)
Call the given value if callable and inject its dependencies.
at line 30
protected bool
useAsCallable(mixed $value)
Determine if the given value is callable, but not a string.