📋 Commit iniziale con: - ✅ Documentazione unificata in docs/ - ✅ Codice Laravel in netgescon-laravel/ - ✅ Script automazione in scripts/ - ✅ Configurazione sync rsync - ✅ Struttura organizzata e pulita 🔄 Versione: 2025.07.19-1644 🎯 Sistema pronto per Git distribuito
38 lines
645 B
PHP
38 lines
645 B
PHP
<?php
|
|
|
|
namespace Illuminate\Support;
|
|
|
|
class HigherOrderTapProxy
|
|
{
|
|
/**
|
|
* The target being tapped.
|
|
*
|
|
* @var mixed
|
|
*/
|
|
public $target;
|
|
|
|
/**
|
|
* Create a new tap proxy instance.
|
|
*
|
|
* @param mixed $target
|
|
*/
|
|
public function __construct($target)
|
|
{
|
|
$this->target = $target;
|
|
}
|
|
|
|
/**
|
|
* Dynamically pass method calls to the target.
|
|
*
|
|
* @param string $method
|
|
* @param array $parameters
|
|
* @return mixed
|
|
*/
|
|
public function __call($method, $parameters)
|
|
{
|
|
$this->target->{$method}(...$parameters);
|
|
|
|
return $this->target;
|
|
}
|
|
}
|