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()); }
public function __construct(array $configArr) { if (count($configArr) == 0) { // throw exception } parent::__construct($configArr); $this->configArr = $configArr; }