BlockOptionsResolver.php
public function resolveOptions($blockType, array $options = [])
    {
        $resolver = $this->getOptionResolver($blockType);

        return $resolver->resolve($options);
    }
public function resolveOptions($blockType, array $options = [])
    {
        $resolver = $this->getOptionResolver($blockType);

        return $resolver->resolve($options);
    }
public function resolveOptions ( $ blockType , array $ options = [ ] ) { $ resolver = $ this -> getOptionResolver ( $ blockType ) ; return $ resolver -> resolve ( $ options ) ; }
Returns the combination of the default options for the given block type and the passed options

@param string|BlockTypeInterface $blockType The block type name or instance of BlockTypeInterface
@param array                     $options   The options

@return array A list of options and their values

@throws InvalidOptionsException if any given option is not applicable to the given block type
Returns the combination of the default options for the given block type and the passed options