src/Admin/Model/DoctrineRpcServiceModel.php
/**
     * Delete a service
     *
     * @param DoctrineRpcServiceEntity $entity
     * @return true
     */
Delete a service
@param DoctrineRpcServiceEntity $entity
@return true
Delete a service @param DoctrineRpcServiceEntity $entity @return true
public function deleteService(DoctrineRpcServiceEntity $entity, $deleteFiles = true)
    {
        $serviceName = $entity->controllerServiceName;
        $routeName   = $entity->routeName;
        if ($deleteFiles) {
            $this->deleteFiles($entity);
        }
        $this->deleteRouteConfig($routeName);
        $this->deleteDoctrineRpcConfig($serviceName);
        $this->deleteContentNegotiationConfig($serviceName);
        return true;
    }
public function deleteService ( DoctrineRpcServiceEntity $ entity , $ deleteFiles = true ) { $ serviceName = $ entity -> controllerServiceName ; $ routeName = $ entity -> routeName ; if ( $ deleteFiles ) { $ this -> deleteFiles ( $ entity ) ; } $ this -> deleteRouteConfig ( $ routeName ) ; $ this -> deleteDoctrineRpcConfig ( $ serviceName ) ; $ this -> deleteContentNegotiationConfig ( $ serviceName ) ; return true ; }
Delete a service
 @param DoctrineRpcServiceEntity $entity
 @return true
Delete a service @param DoctrineRpcServiceEntity $entity @return true