lib/TheTwelve/Foursquare/VenuesGateway.php
public function similar($venueId)
    {

        $resource = '/venues/' . $venueId . '/similar';
        $response = $this->makeApiRequest($resource);

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

        return array();

    }
public function similar($venueId)
    {

        $resource = '/venues/' . $venueId . '/similar';
        $response = $this->makeApiRequest($resource);

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

        return array();

    }
public function similar ( $ venueId ) { $ resource = '/venues/' . $ venueId . '/similar' ; $ response = $ this -> makeApiRequest ( $ resource ) ; if ( property_exists ( $ response , 'similarVenues' ) ) { return $ response -> similarVenues -> items ; } return array ( ) ; }
Returns a list of venues similar to the specified venue.
@param $venueId
@return array
Returns a list of venues similar to the specified venue .