X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fphp-instagram-api%2Fphp-instagram-api%2FInstagram%2FCollection%2FUserCollection.php;fp=vendor%2Fphp-instagram-api%2Fphp-instagram-api%2FInstagram%2FCollection%2FUserCollection.php;h=0000000000000000000000000000000000000000;hp=a558133ba596eed43b28ecdee4be1a6f16b776e1;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae diff --git a/vendor/php-instagram-api/php-instagram-api/Instagram/Collection/UserCollection.php b/vendor/php-instagram-api/php-instagram-api/Instagram/Collection/UserCollection.php deleted file mode 100644 index a558133ba..000000000 --- a/vendor/php-instagram-api/php-instagram-api/Instagram/Collection/UserCollection.php +++ /dev/null @@ -1,54 +0,0 @@ - -* @license http://opensource.org/licenses/mit-license.php The MIT License -*/ - -namespace Instagram\Collection; - -/** - * User Collection - * - * Holds a collection of users - */ -class UserCollection extends \Instagram\Collection\CollectionAbstract { - - /** - * Set the collection data - * - * @param StdClass $raw_data - * @access public - */ - public function setData( $raw_data ) { - $this->data = $raw_data->data; - $this->pagination = isset( $raw_data->pagination ) ? $raw_data->pagination : null; - $this->convertData( '\Instagram\User' ); - } - - /** - * Get next max cursor - * - * Get the next max cursor for use in pagination - * - * @return string Returns the next max cursor - * @access public - */ - public function getNextCursor() { - return isset( $this->pagination->next_cursor ) && !empty( $this->pagination->next_cursor ) ? $this->pagination->next_cursor : null; - } - - /** - * Get next max cursor - * - * Get the next max cursor for use in pagination - * - * @return string Returns the next max cursor - * @access public - */ - public function getNext() { - return $this->getNextCursor(); - } - -} \ No newline at end of file