ScriptFUSION\Porter\Connector\CachingConnector::__construct PHP Method

__construct() public method

public __construct ( Psr\Cache\CacheItemPoolInterface $cache = null )
$cache Psr\Cache\CacheItemPoolInterface
    public function __construct(CacheItemPoolInterface $cache = null)
    {
        $this->cache = $cache ?: new MemoryCache();
    }

Usage Example

Beispiel #1
0
 public function __construct($wsdl = null, SoapOptions $options = null)
 {
     parent::__construct();
     $this->wsdl = $wsdl;
     $this->options = $options;
 }
All Usage Examples Of ScriptFUSION\Porter\Connector\CachingConnector::__construct