class SerializableClosure extends SerializableClosure (View source)
Extends SuperClosure for backwards compatibility.
protected string | $code | The code for the closure | |
protected array | $variables | The variables that were "used" or imported from the parent scope |
string | getCode() Returns the code of the closure being serialized | |
array | getVariables() Returns the "used" variables of the closure being serialized | |
determineCodeAndVariables() Uses the serialize method directly to lazily fetch the code and variables if needed |
Returns the code of the closure being serialized
Returns the "used" variables of the closure being serialized
Uses the serialize method directly to lazily fetch the code and variables if needed
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.5/Illuminate/Support/SerializableClosure.html