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

        //Check that the options handler implements the option handler interface
        if (!in_array('Mesd\Jasper\ReportBundle\Interfaces\AbstractOptionsHandler', class_parents($optionsHandler))) {
            throw new \Exception(self::EXCEPTION_OPTIONS_HANDLER_NOT_INTERFACE);
        }

        //return the handler
        return $optionsHandler;
    }
public function getOptionsHandler() {
        //Get the options handler from the dependency container
        $optionsHandler = $this->container->get($this->optionHandlerServiceName);

        //Check that the options handler implements the option handler interface
        if (!in_array('Mesd\Jasper\ReportBundle\Interfaces\AbstractOptionsHandler', class_parents($optionsHandler))) {
            throw new \Exception(self::EXCEPTION_OPTIONS_HANDLER_NOT_INTERFACE);
        }

        //return the handler
        return $optionsHandler;
    }
public function getOptionsHandler ( ) { //Get the options handler from the dependency container $ optionsHandler = $ this -> container -> get ( $ this -> optionHandlerServiceName ) ; //Check that the options handler implements the option handler interface if ( ! in_array ( 'Mesd\Jasper\ReportBundle\Interfaces\AbstractOptionsHandler' , class_parents ( $ optionsHandler ) ) ) { throw new \ Exception ( self :: EXCEPTION_OPTIONS_HANDLER_NOT_INTERFACE ) ; } //return the handler return $ optionsHandler ; }
Get the options handler service

@return AbstractOptionsHandler The options handler
Get the options handler service