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

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

        return $block;
    }