PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
essential-grid
/
includes
/
InstagramScraper
/
Model
<?php namespace InstagramScraper\Model; class Comment extends AbstractModel { /** * @var */ protected $id; /** * @var */ protected $text; /** * @var */ protected $createdAt; /** * @var Account */ protected $owner; /** * @var bool */ protected $isLoaded = false; /** * @return mixed */ public function getId() { return $this->id; } /** * @return mixed */ public function getText() { return $this->text; } /** * @return mixed */ public function getCreatedAt() { return $this->createdAt; } /** * @return Account */ public function getOwner() { return $this->owner; } /** * @param $value * @param $prop */ protected function initPropertiesCustom($value, $prop) { switch ($prop) { case 'id': $this->id = $value; break; case 'created_at': $this->createdAt = $value; break; case 'text': $this->text = $value; break; case 'owner': $this->owner = Account::create($value); break; } } }
[+]
..
[-] AbstractModel.php
[edit]
[-] Tag.php
[edit]
[-] Story.php
[edit]
[-] Account.php
[edit]
[-] Like.php
[edit]
[-] Media.php
[edit]
[-] UserStories.php
[edit]
[-] CarouselMedia.php
[edit]
[-] Comment.php
[edit]
[-] Location.php
[edit]