__construct() public method

public __construct ( Psr\Cache\CacheItemPoolInterface $cache = null )
$cache Psr\Cache\CacheItemPoolInterface
Ejemplo n.º 1
0
 public function __construct($wsdl = null, SoapOptions $options = null)
 {
     parent::__construct();
     $this->wsdl = $wsdl;
     $this->options = $options;
 }
Ejemplo n.º 2
0
 public function __construct(HttpOptions $options = null)
 {
     parent::__construct();
     $this->options = $options ?: new HttpOptions();
 }