src/Graviton/ProxyBundle/Definition/ApiDefinition.php
public function getSchema($endpoint)
    {
        //remove base path
        if ('/' !== $this->basePath) {
            $endpoint = str_replace($this->basePath, '', $endpoint);
        }
        $retVal = new \stdClass();
        if (array_key_exists($endpoint, $this->schemes)) {
            $retVal = $this->schemes[$endpoint];
        }

        return $retVal;
    }
public function getSchema($endpoint)
    {
        //remove base path
        if ('/' !== $this->basePath) {
            $endpoint = str_replace($this->basePath, '', $endpoint);
        }
        $retVal = new \stdClass();
        if (array_key_exists($endpoint, $this->schemes)) {
            $retVal = $this->schemes[$endpoint];
        }

        return $retVal;
    }
public function getSchema ( $ endpoint ) { //remove base path if ( '/' !== $ this -> basePath ) { $ endpoint = str_replace ( $ this -> basePath , '' , $ endpoint ) ; } $ retVal = new \ stdClass ( ) ; if ( array_key_exists ( $ endpoint , $ this -> schemes ) ) { $ retVal = $ this -> schemes [ $ endpoint ] ; } return $ retVal ; }
get a schema for an endpoint

@param string $endpoint endpoint

@return \stdClass
get a schema for an endpoint