コード例 #1
0
ファイル: Twitter.php プロジェクト: emus/php-zend2-old
 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());
 }
コード例 #2
0
ファイル: TwitterBlvd.php プロジェクト: nowarena/zf2NowArena
 public function __construct(array $configArr)
 {
     if (count($configArr) == 0) {
         // throw exception
     }
     parent::__construct($configArr);
     $this->configArr = $configArr;
 }