public function createReportBuilder($resourceUri, $getICFrom = null) {
        //Set the input options source
        $getICFrom = $getICFrom ?: $this->defaultInputOptionsSource;

        //Get the options handler from the dependency container
        $optionsHandler = $this->container->get($this->optionHandlerServiceName);

        //Create a new input control factory
        $icFactory = new InputControlFactory($optionsHandler, $getICFrom, 'Mesd\Jasper\ReportBundle\InputControl\\');

        //Get the report builder started from the client
        $reportBuilder = $this->jasperClient->createReportBuilder($resourceUri, $getICFrom, $icFactory);

        //Set the stuff from the bundle configuration
        $reportBuilder->setReportCache($this->reportCacheDir);

        //return the report builder
        return $reportBuilder;
    }