File "Story.php"
Full Path: /home/vantageo/public_html/cache/cache/cache/.wp-cli/wp-content/plugins/revslider/includes/InstagramScraper/Model/Story.php
File size: 611 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace InstagramScraper\Model;
/**
* Class Story
* @package InstagramScraper\Model
*/
class Story extends Media
{
private $skip_prop = [
'owner' => true,
];
/***
* We do not need some values - do not parse it for Story,
* for example - we do not need owner object inside story
*
* @param $value
* @param $prop
* @param $arr
*/
protected function initPropertiesCustom($value, $prop, $arr)
{
if (!empty($this->skip_prop[$prop])) {
return;
}
parent::initPropertiesCustom($value, $prop, $arr);
}
}