fuc-new/vendor/illuminate/support/Traits/Tappable.php
hellcat 1fe8673f62 1
2025-10-01 13:34:29 +08:00

18 lines
395 B
PHP
Executable File

<?php
namespace Illuminate\Support\Traits;
trait Tappable
{
/**
* Call the given Closure with this instance then return the instance.
*
* @param (callable($this): mixed)|null $callback
* @return ($callback is null ? \Illuminate\Support\HigherOrderTapProxy : $this)
*/
public function tap($callback = null)
{
return tap($this, $callback);
}
}