当前位置: 首页>>代码示例>>PHP>>正文


PHP Event::__construct方法代码示例

本文整理汇总了PHP中Event::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Event::__construct方法的具体用法?PHP Event::__construct怎么用?PHP Event::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Event的用法示例。


在下文中一共展示了Event::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->args = $this->response->args;
     $this->channel = new Channel($client, $this->response->channel);
     $this->replaceChannel = property_exists($this->response, 'replace_channel') ? new Channel($client, $this->response->replace_channel) : null;
 }
开发者ID:stgnet,项目名称:phparia,代码行数:11,代码来源:StasisStart.php

示例2: __construct

 public function __construct(DBServer $DBServer, $NewIPAddress, $NewLocalIPAddress = null)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->NewIPAddress = $NewIPAddress;
     $this->NewLocalIPAddress = $NewLocalIPAddress;
 }
开发者ID:recipe,项目名称:scalr,代码行数:7,代码来源:class.IPAddressChangedEvent.php

示例3: __construct

 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->channel = new Channel($client, $this->response->channel);
     $this->dialplanApp = $this->response->dialplan_app;
     $this->dialplanAppData = $this->response->dialplan_app_data;
 }
开发者ID:stgnet,项目名称:phparia,代码行数:11,代码来源:ChannelDialplan.php

示例4: __construct

 public function __construct(DBServer $dBServer, $check, $details)
 {
     parent::__construct();
     $this->dBServer = $dBServer;
     $this->check = $check;
     $this->details = $details;
 }
开发者ID:recipe,项目名称:scalr,代码行数:7,代码来源:class.CheckFailedEvent.php

示例5: __construct

 public function __construct(DBServer $DBServer, $BundleTaskID, $LastErrorMessage)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->BundleTaskID = $BundleTaskID;
     $this->LastErrorMessage = $LastErrorMessage;
 }
开发者ID:rakesh-mohanta,项目名称:scalr,代码行数:7,代码来源:class.RebundleFailedEvent.php

示例6: __construct

 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->channel = new Channel($client, $this->response->channel);
     $this->digit = $this->response->digit;
     $this->durationMs = $this->response->duration_ms;
 }
开发者ID:stgnet,项目名称:phparia,代码行数:11,代码来源:ChannelDtmfReceived.php

示例7: __construct

 public function __construct(DBServer $DBServer, $Operation, $SnapInfo)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->Operation = $Operation;
     $this->SnapshotInfo = $SnapInfo;
 }
开发者ID:rakesh-mohanta,项目名称:scalr,代码行数:7,代码来源:class.MysqlBackupCompleteEvent.php

示例8: __construct

 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->cause = $this->getResponseValue('cause');
     $this->channel = $this->getResponseValue('channel', '\\phparia\\Resources\\Channel', $client);
     $this->soft = $this->getResponseValue('soft');
 }
开发者ID:wormling,项目名称:phparia,代码行数:11,代码来源:ChannelHangupRequest.php

示例9: __construct

 /**
  * Create a new event instance.
  *
  * @param  User $user
  * @return void
  */
 public function __construct(User $user, $password, $fromSocial = false, array $params = [], $locale = null)
 {
     parent::__construct($params, $locale);
     $this->user = $user;
     $this->password = $password;
     $this->fromSocial = $fromSocial;
 }
开发者ID:linhntaim,项目名称:katniss,代码行数:13,代码来源:UserAfterRegistered.php

示例10: __construct

 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->cause = property_exists($this->response, 'cause') ? $this->response->cause : null;
     $this->channel = new Channel($client, $this->response->channel);
     $this->soft = property_exists($this->response, 'soft') ? $this->response->soft : null;
 }
开发者ID:stgnet,项目名称:phparia,代码行数:11,代码来源:ChannelHangupRequest.php

示例11: __construct

 public function __construct(DBServer $DBServer, $SnapURL, DBServer $OldMasterDBServer)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->SnapURL = $SnapURL;
     $this->OldMasterDBServer = $OldMasterDBServer;
 }
开发者ID:rakesh-mohanta,项目名称:scalr,代码行数:7,代码来源:class.NewMysqlMasterUpEvent.php

示例12: __construct

 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->channel = $this->getResponseValue('channel', '\\phparia\\Resources\\Channel', $client);
     $this->digit = $this->getResponseValue('digit');
     $this->durationMs = $this->getResponseValue('duration_ms');
 }
开发者ID:wormling,项目名称:phparia,代码行数:11,代码来源:ChannelDtmfReceived.php

示例13: __construct

 public function __construct(DBServer $DBServer, $DeviceName, $VolumeID)
 {
     parent::__construct();
     $this->DBServer = $DBServer;
     $this->DeviceName = $DeviceName;
     $this->VolumeID = $VolumeID;
 }
开发者ID:sacredwebsite,项目名称:scalr,代码行数:7,代码来源:class.EBSVolumeAttachedEvent.php

示例14: __construct

 /**
  * @param AriClient $client
  * @param string $response
  */
 public function __construct(AriClient $client, $response)
 {
     parent::__construct($client, $response);
     $this->callerPresentation = $this->response->caller_presentation;
     $this->callerPresentationTxt = $this->response->caller_presentation_txt;
     $this->channel = new Channel($client, $this->response->channel);
 }
开发者ID:stgnet,项目名称:phparia,代码行数:11,代码来源:ChannelCallerId.php

示例15: __construct

 /**
  * @param ProjectMember $member
  * @param Project $project
  * @param User $user
  * @param array $config
  */
 public function __construct($member, $project, $user, $config = [])
 {
     $this->member = $member;
     $this->project = $project;
     $this->user = $user;
     parent::__construct($config);
 }
开发者ID:HaruAtari,项目名称:0xh49da2,代码行数:13,代码来源:ProjectMemberEvent.php


注:本文中的Event::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。