Skip to content

TapAware


  • Full name: \Qubus\Inheritance\TapAware

Methods

tap

Call the given callable with the given value then return the value.

protected tap(mixed $value, callable|null $callback = null): mixed

Parameters:

Parameter Type Description
$value mixed
$callback callable|null