public function removeResource(Resource $resource)
    {
        if (!isset($this->resources[$resource->getUri()])) {
            return;
        }
        unset($this->resources[$resource->getUri()]);
    }
public function removeResource(Resource $resource)
    {
        if (!isset($this->resources[$resource->getUri()])) {
            return;
        }
        unset($this->resources[$resource->getUri()]);
    }
public function removeResource ( Resource $ resource ) { if ( ! isset ( $ this -> resources [ $ resource -> getUri ( ) ] ) ) { return ; } unset ( $ this -> resources [ $ resource -> getUri ( ) ] ) ; }
Removes Resource from ApiDefinition
Removes Resource from ApiDefinition