src/Graviton/ProxyBundle/Service/TransformationHandler.php
public function addSchemaTransformation($api, $endpoint, SchemaTransformationInterface $transformation)
    {
        $this->schemaTransformations[$api][$endpoint][] = $transformation;
        return count($this->schemaTransformations[$api][$endpoint]) - 1;
    }
public function addSchemaTransformation($api, $endpoint, SchemaTransformationInterface $transformation)
    {
        $this->schemaTransformations[$api][$endpoint][] = $transformation;
        return count($this->schemaTransformations[$api][$endpoint]) - 1;
    }
public function addSchemaTransformation ( $ api , $ endpoint , SchemaTransformationInterface $ transformation ) { $ this -> schemaTransformations [ $ api ] [ $ endpoint ] [ ] = $ transformation ; return count ( $ this -> schemaTransformations [ $ api ] [ $ endpoint ] ) - 1 ; }
Adds a schema transformation to a given API and endpoint.

@param  string                        $api            The API name
@param  string                        $endpoint       The API endpoint
@param  SchemaTransformationInterface $transformation The transformation
@return int The position of the added transformation within the transformation array.
Adds a schema transformation to a given API and endpoint .