trait Tappable (View source)

Methods

tap($callback = null)

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

Details

tap($callback = null)

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

Parameters

$callback