28 lines
271 B
PHP
28 lines
271 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
|
||
|
|
namespace Snowflake;
|
||
|
|
|
||
|
|
|
||
|
|
class Proxy
|
||
|
|
{
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Proxy constructor.
|
||
|
|
* @param IProxy $IProxy
|
||
|
|
*/
|
||
|
|
public function __construct(public IProxy $IProxy)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @return mixed
|
||
|
|
*/
|
||
|
|
public function execute(): mixed
|
||
|
|
{
|
||
|
|
return $this->IProxy->execute();
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|