protected function prefixEndpoints(EndpointCollection $endpoints)
    {
        foreach ($endpoints->getAllPaths() as $path) {
            $path->path = $this->trimPath($this->prefix, $path->path);
        }
    }
protected function prefixEndpoints(EndpointCollection $endpoints)
    {
        foreach ($endpoints->getAllPaths() as $path) {
            $path->path = $this->trimPath($this->prefix, $path->path);
        }
    }
protected function prefixEndpoints ( EndpointCollection $ endpoints ) { foreach ( $ endpoints -> getAllPaths ( ) as $ path ) { $ path -> path = $ this -> trimPath ( $ this -> prefix , $ path -> path ) ; } }
Set the prefixes on the endpoints.

@param EndpointCollection $endpoints

@return void
Set the prefixes on the endpoints .