本文整理汇总了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;
}
示例2: __construct
public function __construct(DBServer $DBServer, $NewIPAddress, $NewLocalIPAddress = null)
{
parent::__construct();
$this->DBServer = $DBServer;
$this->NewIPAddress = $NewIPAddress;
$this->NewLocalIPAddress = $NewLocalIPAddress;
}
示例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;
}
示例4: __construct
public function __construct(DBServer $dBServer, $check, $details)
{
parent::__construct();
$this->dBServer = $dBServer;
$this->check = $check;
$this->details = $details;
}
示例5: __construct
public function __construct(DBServer $DBServer, $BundleTaskID, $LastErrorMessage)
{
parent::__construct();
$this->DBServer = $DBServer;
$this->BundleTaskID = $BundleTaskID;
$this->LastErrorMessage = $LastErrorMessage;
}
示例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;
}
示例7: __construct
public function __construct(DBServer $DBServer, $Operation, $SnapInfo)
{
parent::__construct();
$this->DBServer = $DBServer;
$this->Operation = $Operation;
$this->SnapshotInfo = $SnapInfo;
}
示例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');
}
示例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;
}
示例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;
}
示例11: __construct
public function __construct(DBServer $DBServer, $SnapURL, DBServer $OldMasterDBServer)
{
parent::__construct();
$this->DBServer = $DBServer;
$this->SnapURL = $SnapURL;
$this->OldMasterDBServer = $OldMasterDBServer;
}
示例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');
}
示例13: __construct
public function __construct(DBServer $DBServer, $DeviceName, $VolumeID)
{
parent::__construct();
$this->DBServer = $DBServer;
$this->DeviceName = $DeviceName;
$this->VolumeID = $VolumeID;
}
示例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);
}
示例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);
}