trait Tappable (View source)

Methods

tap(callable|null $callback = null)

Call the given Closure with this instance then return the instance.

Details

$this|HigherOrderTapProxy tap(callable|null $callback = null)

Call the given Closure with this instance then return the instance.

Parameters

callable|null $callback

Return Value

$this|HigherOrderTapProxy