public function all(array $params = array())
    {
        $endpoint = '/admin/comments.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Comment::class, $response['comments']);
    }
public function all(array $params = array())
    {
        $endpoint = '/admin/comments.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Comment::class, $response['comments']);
    }
public function all ( array $ params = array ( ) ) { $ endpoint = '/admin/comments.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createCollection ( Comment :: class , $ response [ 'comments' ] ) ; }
Receive a list of all comments

@link   https://help.shopify.com/api/reference/comment#index
@param  array $params
@return Comment[]
Receive a list of all comments