src/Graviton/ProxyBundle/Definition/ApiDefinition.php
public function hasEndpoint($endpoint)
    {
        $retVal = false;
        if (isset($this->endpoints)) {
            $retVal = in_array($endpoint, $this->endpoints);
        }

        return $retVal;
    }
public function hasEndpoint($endpoint)
    {
        $retVal = false;
        if (isset($this->endpoints)) {
            $retVal = in_array($endpoint, $this->endpoints);
        }

        return $retVal;
    }
public function hasEndpoint ( $ endpoint ) { $ retVal = false ; if ( isset ( $ this -> endpoints ) ) { $ retVal = in_array ( $ endpoint , $ this -> endpoints ) ; } return $ retVal ; }
check if an endpoint exists

@param string $endpoint endpoint

@return boolean
check if an endpoint exists