src/Admin/Model/DoctrineRpcServiceModel.php
/**
     * Delete the RPC configuration for a named RPC service
     *
     * @param string $serviceName
     */
Delete the RPC configuration for a named RPC service
@param string $serviceName
Delete the RPC configuration for a named RPC service @param string $serviceName
public function deleteDoctrineRpcConfig($serviceName)
    {
        $key = ['zf-rpc', $serviceName];
        $this->configResource->deleteKey($key);
        $key = ['zf-rpc-doctrine-controller', $serviceName];
        $this->configResource->deleteKey($key);
        $config = $this->configResource->fetch();
        if (isset($config['controllers.aliases.' . $serviceName])) {
            $fullClassName = $config['controllers.aliases.' . $serviceName];
            $key = ['controllers', 'aliases', $serviceName];
            $this->configResource->deleteKey($key);
            $key = ['controllers', 'factories', $fullClassName];
            $this->configResource->deleteKey($key);
        }
        $key = ['controllers', 'invokables', $serviceName];
        $this->configResource->deleteKey($key);
        $key = ['zf-content-negotiation', 'accept_whitelist', $serviceName];
        $this->configResource->deleteKey($key);
        $key = ['zf-content-negotiation', 'content_type_whitelist', $serviceName];
        $this->configResource->deleteKey($key);
    }
public function deleteDoctrineRpcConfig ( $ serviceName ) { $ key = [ 'zf-rpc' , $ serviceName ] ; $ this -> configResource -> deleteKey ( $ key ) ; $ key = [ 'zf-rpc-doctrine-controller' , $ serviceName ] ; $ this -> configResource -> deleteKey ( $ key ) ; $ config = $ this -> configResource -> fetch ( ) ; if ( isset ( $ config [ 'controllers.aliases.' . $ serviceName ] ) ) { $ fullClassName = $ config [ 'controllers.aliases.' . $ serviceName ] ; $ key = [ 'controllers' , 'aliases' , $ serviceName ] ; $ this -> configResource -> deleteKey ( $ key ) ; $ key = [ 'controllers' , 'factories' , $ fullClassName ] ; $ this -> configResource -> deleteKey ( $ key ) ; } $ key = [ 'controllers' , 'invokables' , $ serviceName ] ; $ this -> configResource -> deleteKey ( $ key ) ; $ key = [ 'zf-content-negotiation' , 'accept_whitelist' , $ serviceName ] ; $ this -> configResource -> deleteKey ( $ key ) ; $ key = [ 'zf-content-negotiation' , 'content_type_whitelist' , $ serviceName ] ; $ this -> configResource -> deleteKey ( $ key ) ; }
Delete the RPC configuration for a named RPC service
 @param string $serviceName
Delete the RPC configuration for a named RPC service @param string $serviceName