blob: 9d75d26fb33e413fcac5f7615fb6a33848602099 [file] [log] [blame]
<?php
namespace Tightenco\Collect\Support\Traits;
trait Tappable
{
/**
* Call the given Closure with this instance then return the instance.
*
* @param callable|null $callback
* @return $this|\Tightenco\Collect\Support\HigherOrderTapProxy
*/
public function tap($callback = null)
{
return tap($this, $callback);
}
}