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


PHP AbstractActivityFeedStory::hydrate方法代码示例

本文整理汇总了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);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:SubscriptionPurchaseEndedStory.php

示例2: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->advert)) {
         $this->advert = BannerAdvertResponse::make($this->advert);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:BannerAdvertCreatedStory.php

示例3: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->page)) {
         $this->page = PageResponse::make($this->page);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:PageDeletedStory.php

示例4: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->domain)) {
         $this->domain = DomainResponse::make($this->domain);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:DomainDeletedStory.php

示例5: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->cannedResponse)) {
         $this->cannedResponse = CannedResponseResponse::make($this->cannedResponse);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:CannedResponseDepartmentUpdatedStory.php

示例6: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->employee)) {
         $this->employee = EmployeeResponse::make($this->employee);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:EmployeeEnabledStory.php

示例7: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->company)) {
         $this->company = CompanyResponse::make($this->company);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:CompanyUpdatedStory.php

示例8: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->policy)) {
         $this->policy = AffiliateTQPPolicyResponse::make($this->policy);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:AffiliateTQPPolicyUpdatedStory.php

示例9: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->paycheck)) {
         $this->paycheck = AffiliatePaycheckResponse::make($this->paycheck);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:AffiliatePaycheckBulkApprovedStory.php

示例10: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->ticket)) {
         $this->ticket = TicketResponse::make($this->ticket);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:TicketTypeUpdatedStory.php

示例11: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->campaign)) {
         $this->campaign = AffiliateCampaignResponse::make($this->campaign);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:AffiliateCampaignDeletedStory.php

示例12: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->foundation)) {
         $this->foundation = AffiliateFoundationResponse::make($this->foundation);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:AffiliateFoundationCreatedStory.php

示例13: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->tag)) {
         $this->tag = TagResponse::make($this->tag);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:TagObjectRemovedStory.php

示例14: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->customer)) {
         $this->customer = CustomerResponse::make($this->customer);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:CustomerAddressAddedStory.php

示例15: hydrate

 public function hydrate($data)
 {
     parent::hydrate($data);
     if (!empty($this->approval)) {
         $this->approval = AffiliateApprovalResponse::make($this->approval);
     }
 }
开发者ID:fortifi,项目名称:fortifi-api,代码行数:7,代码来源:AffiliateApprovalDeclineStory.php


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