本文整理汇总了PHP中Fortifi\FortifiApi\ActivityFeed\Stories\AbstractActivityFeedStory::hydrate方法的典型用法代码示例。如果您正苦于以下问题:PHP AbstractActivityFeedStory::hydrate方法的具体用法?PHP AbstractActivityFeedStory::hydrate怎么用?PHP AbstractActivityFeedStory::hydrate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Fortifi\FortifiApi\ActivityFeed\Stories\AbstractActivityFeedStory
的用法示例。
在下文中一共展示了AbstractActivityFeedStory::hydrate方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->subscription)) {
$this->subscription = SubscriptionPurchaseResponse::make($this->subscription);
}
}
示例2: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->advert)) {
$this->advert = BannerAdvertResponse::make($this->advert);
}
}
示例3: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->page)) {
$this->page = PageResponse::make($this->page);
}
}
示例4: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->domain)) {
$this->domain = DomainResponse::make($this->domain);
}
}
示例5: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->cannedResponse)) {
$this->cannedResponse = CannedResponseResponse::make($this->cannedResponse);
}
}
示例6: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->employee)) {
$this->employee = EmployeeResponse::make($this->employee);
}
}
示例7: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->company)) {
$this->company = CompanyResponse::make($this->company);
}
}
示例8: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->policy)) {
$this->policy = AffiliateTQPPolicyResponse::make($this->policy);
}
}
示例9: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->paycheck)) {
$this->paycheck = AffiliatePaycheckResponse::make($this->paycheck);
}
}
示例10: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->ticket)) {
$this->ticket = TicketResponse::make($this->ticket);
}
}
示例11: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->campaign)) {
$this->campaign = AffiliateCampaignResponse::make($this->campaign);
}
}
示例12: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->foundation)) {
$this->foundation = AffiliateFoundationResponse::make($this->foundation);
}
}
示例13: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->tag)) {
$this->tag = TagResponse::make($this->tag);
}
}
示例14: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->customer)) {
$this->customer = CustomerResponse::make($this->customer);
}
}
示例15: hydrate
public function hydrate($data)
{
parent::hydrate($data);
if (!empty($this->approval)) {
$this->approval = AffiliateApprovalResponse::make($this->approval);
}
}