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%2FCommentCollection.php;fp=vendor%2Fphp-instagram-api%2Fphp-instagram-api%2FInstagram%2FCollection%2FCommentCollection.php;h=d6a2e31b58c7382e044ca8884462b2a025f83886;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/php-instagram-api/php-instagram-api/Instagram/Collection/CommentCollection.php b/vendor/php-instagram-api/php-instagram-api/Instagram/Collection/CommentCollection.php new file mode 100644 index 000000000..d6a2e31b5 --- /dev/null +++ b/vendor/php-instagram-api/php-instagram-api/Instagram/Collection/CommentCollection.php @@ -0,0 +1,29 @@ + +* @license http://opensource.org/licenses/mit-license.php The MIT License +*/ + +namespace Instagram\Collection; + +/** + * Comment Collection + * + * Holds a collection of comments + */ +class CommentCollection 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->convertData( '\Instagram\Comment' ); + } + +} \ No newline at end of file