Beispiel #1
0
 function __construct($options = null, ZendOAuth\Consumer $consumer = null, Http\Client $httpClient = null)
 {
     $this->containerd = ArrayUtils::at($options, 'containerd', null, function () {
         return new Containerd();
     });
     parent::__construct(...\func_get_args());
 }
Beispiel #2
0
 public function __construct(array $configArr)
 {
     if (count($configArr) == 0) {
         // throw exception
     }
     parent::__construct($configArr);
     $this->configArr = $configArr;
 }