Fxmlrpc\AbstractDecorator::__construct PHP Method

__construct() public method

public __construct ( fxmlrpc\ClientInterface $wrapped )
$wrapped fxmlrpc\ClientInterface
    public function __construct(ClientInterface $wrapped)
    {
        $this->wrapped = $wrapped;
    }

Usage Example

Esempio n. 1
0
 /**
  * Create new client decorator to record timing information
  *
  * @param ClientInterface $wrapped
  * @param TimerInterface  $timer
  */
 public function __construct(ClientInterface $wrapped, TimerInterface $timer)
 {
     parent::__construct($wrapped);
     $this->timer = $timer;
 }