Version 1
[yaffs-website] / vendor / php-instagram-api / php-instagram-api / Instagram / Collection / CommentCollection.php
1 <?php
2
3 /**
4 * Instagram PHP
5 * @author Galen Grover <galenjr@gmail.com>
6 * @license http://opensource.org/licenses/mit-license.php The MIT License
7 */
8
9 namespace Instagram\Collection;
10
11 /**
12  * Comment Collection
13  *
14  * Holds a collection of comments
15  */
16 class CommentCollection extends \Instagram\Collection\CollectionAbstract {
17
18     /**
19      * Set the collection data
20      *
21      * @param StdClass $raw_data
22      * @access public
23      */
24     public function setData( $raw_data ) {
25         $this->data = $raw_data->data;
26         $this->convertData( '\Instagram\Comment' );
27     }
28
29 }