protected function createOptionResolver($name)
    {
        $resolverName = ucfirst($name) . 'OptionResolver';

        if(!isset($this->optionResolvers[$resolverName])) {
            $className = "\\Wangjian\\PinganPay\\OptionResolver\\$resolverName";
            $this->optionResolvers[$resolverName] = new $className();
        }

        return $this->optionResolvers[$resolverName];
    }
protected function createOptionResolver($name)
    {
        $resolverName = ucfirst($name) . 'OptionResolver';

        if(!isset($this->optionResolvers[$resolverName])) {
            $className = "\\Wangjian\\PinganPay\\OptionResolver\\$resolverName";
            $this->optionResolvers[$resolverName] = new $className();
        }

        return $this->optionResolvers[$resolverName];
    }
protected function createOptionResolver ( $ name ) { $ resolverName = ucfirst ( $ name ) . 'OptionResolver' ; if ( ! isset ( $ this -> optionResolvers [ $ resolverName ] ) ) { $ className = "\\Wangjian\\PinganPay\\OptionResolver\\$resolverName" ; $ this -> optionResolvers [ $ resolverName ] = new $ className ( ) ; } return $ this -> optionResolvers [ $ resolverName ] ; }
create option resolver
@param string $name
@return AbstractOptionResolver
create option resolver