W3cubDocs

/Laravel 5.2

SerializableClosure

class SerializableClosure extends SerializableClosure (View source)

Extends SuperClosure for backwards compatibility.

Methods

string getCode()

Returns the code of the closure being serialized

array getVariables()

Returns the "used" variables of the closure being serialized

Details

string getCode()

Returns the code of the closure being serialized

Return Value

string

array getVariables()

Returns the "used" variables of the closure being serialized

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.2/Illuminate/Support/SerializableClosure.html