protected function askForServiceContainerId($service = null)
    {
        if (!isset($service)) {
            $service = $this->askForServiceName();
        }
        $container_id = $this->getServiceContainerId($service);

        if ($container_id === false) {
            throw new EngineRuntimeException(
                sprintf('Unable to obtain the container identifier for the %s service.', $service)
            );
        }

        return $container_id;
    }
protected function askForServiceContainerId($service = null)
    {
        if (!isset($service)) {
            $service = $this->askForServiceName();
        }
        $container_id = $this->getServiceContainerId($service);

        if ($container_id === false) {
            throw new EngineRuntimeException(
                sprintf('Unable to obtain the container identifier for the %s service.', $service)
            );
        }

        return $container_id;
    }
protected function askForServiceContainerId ( $ service = null ) { if ( ! isset ( $ service ) ) { $ service = $ this -> askForServiceName ( ) ; } $ container_id = $ this -> getServiceContainerId ( $ service ) ; if ( $ container_id === false ) { throw new EngineRuntimeException ( sprintf ( 'Unable to obtain the container identifier for the %s service.' , $ service ) ) ; } return $ container_id ; }
Ask for the service container identifier.

@param null $service
The service name without having to prompt.

@return bool|string
Ask for the service container identifier .