src/Forum/Content/Index.php
private function getApiDocument(User $actor, array $params)
    {
        return json_decode($this->api->send(ListDiscussionsController::class, $actor, $params)->getBody());
    }
private function getApiDocument(User $actor, array $params)
    {
        return json_decode($this->api->send(ListDiscussionsController::class, $actor, $params)->getBody());
    }
private function getApiDocument ( User $ actor , array $ params ) { return json_decode ( $ this -> api -> send ( ListDiscussionsController :: class , $ actor , $ params ) -> getBody ( ) ) ; }
Get the result of an API request to list discussions.

@param User $actor
@param array $params
@return object
Get the result of an API request to list discussions .