Instagram\API\Request\LocationFeedRequest::__construct PHP Метод

__construct() публичный Метод

public __construct ( $instagram, $locationId, $maxId = null )
$instagram Instagram
$locationId string Location Id to load the Feed of
$maxId string The Maximum Id for fetching more Items in the Feed
    public function __construct($instagram, $locationId, $maxId = null)
    {
        parent::__construct($instagram);
        $this->locationId = $locationId;
        $this->addParam("rank_token", $instagram->getRankToken());
        if (!empty($maxId)) {
            $this->addParam("max_id", $maxId);
        }
    }