protected function getBlock($name, array &$options)
    {
        $block = [];

        /** @noinspection ReferenceMismatchInspection */
        if (array_key_exists($name, $options)) {
            $block = $options[$name];
            unset($options[$name]);
        }

        return $block;
    }
protected function getBlock($name, array &$options)
    {
        $block = [];

        /** @noinspection ReferenceMismatchInspection */
        if (array_key_exists($name, $options)) {
            $block = $options[$name];
            unset($options[$name]);
        }

        return $block;
    }
protected function getBlock ( $ name , array & $ options ) { $ block = [ ] ; /** @noinspection ReferenceMismatchInspection */ if ( array_key_exists ( $ name , $ options ) ) { $ block = $ options [ $ name ] ; unset ( $ options [ $ name ] ) ; } return $ block ; }
Get block from options

@access protected

@param string $name Block name
@param array $options Options array

@return array
Get block from options