WowPress-Tailwind/theme/vendor/illuminate/support/Traits/Tappable.php

18 lines
355 B
PHP
Raw Normal View History

2024-04-15 16:00:49 +02:00
<?php
namespace Illuminate\Support\Traits;
trait Tappable
{
/**
* Call the given Closure with this instance then return the instance.
*
* @param callable|null $callback
* @return $this|\Illuminate\Support\HigherOrderTapProxy
*/
public function tap($callback = null)
{
return tap($this, $callback);
}
}