src/CMDBCategoryInfo.php
public function batchRead(array $categories) {
        $requests = [];

        foreach ($categories as $category) {
            $requests[] = [
                'method' => 'cmdb.category_info',
                'params' => array(
                    'category' => $category
                )
            ];
        }

        return $this->api->batchRequest($requests);
    }
public function batchRead(array $categories) {
        $requests = [];

        foreach ($categories as $category) {
            $requests[] = [
                'method' => 'cmdb.category_info',
                'params' => array(
                    'category' => $category
                )
            ];
        }

        return $this->api->batchRequest($requests);
    }
public function batchRead ( array $ categories ) { $ requests = [ ] ; foreach ( $ categories as $ category ) { $ requests [ ] = [ 'method' => 'cmdb.category_info' , 'params' => array ( 'category' => $ category ) ] ; } return $ this -> api -> batchRequest ( $ requests ) ; }
Fetches information about one or more categories

@param array $categories List of category constants as strings

@return array Indexed array of associative arrays

@throws Exception on error
Fetches information about one or more categories