lib/stats/Stats.php
public function getCategory($categories)
    {
        $this->validateNumericArray('categories', $categories);
        $stats = $this->getGlobal();
        $stats['categories'] = $categories;
        return $stats;
    }
public function getCategory($categories)
    {
        $this->validateNumericArray('categories', $categories);
        $stats = $this->getGlobal();
        $stats['categories'] = $categories;
        return $stats;
    }
public function getCategory ( $ categories ) { $ this -> validateNumericArray ( 'categories' , $ categories ) ; $ stats = $ this -> getGlobal ( ) ; $ stats [ 'categories' ] = $ categories ; return $ stats ; }
Retrieve an array of categories

@param array $categories

@return array
@throws \Exception
Retrieve an array of categories