function Global / tap
You are viewing an older version of the documentation. For the latest, please visit master documentation.

tap

tap ( ) : mixed

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

Parameters

  • $value mixed
  • $callback callable|null