lib/TheTwelve/Foursquare/VenuesGateway.php
public function categories()
    {
        $resource = '/venues/categories';
        $response = $this->makeApiRequest($resource);

        if(property_exists($response, 'categories')) {
            return $response->categories;
        }

        return array();
    }
public function categories()
    {
        $resource = '/venues/categories';
        $response = $this->makeApiRequest($resource);

        if(property_exists($response, 'categories')) {
            return $response->categories;
        }

        return array();
    }
public function categories ( ) { $ resource = '/venues/categories' ; $ response = $ this -> makeApiRequest ( $ resource ) ; if ( property_exists ( $ response , 'categories' ) ) { return $ response -> categories ; } return array ( ) ; }
Returns a hierarchical list of categories applied to venues.
When designing client applications, please download this list
only once per session, but also avoid caching this data for
longer than a week to avoid stale information.
@return array
Returns a hierarchical list of categories applied to venues . When designing client applications please download this list only once per session but also avoid caching this data for longer than a week to avoid stale information .