blob: 17e6b9e8b17df634a206d2a4387f6b6246a51ba4 [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 mixed
*/
public function tap($callback = null)
{
return tap($this, $callback);
}
}