ReflectsClosures
trait ReflectsClosures (View source)
Methods
array
closureParameterTypes(Closure $closure)
Get the class names / types of the parameters of the given Closure.
string
firstClosureParameterType(Closure $closure)
Get the class name of the first parameter of the given Closure.
Details
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.