trait Tappable (View source)
mixed | tap(callable|null $callback = null) Call the given Closure with this instance then return the instance. |
Call the given Closure with this instance then return the instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Support/Traits/Tappable.html