public function getPlugin($name, array $options = [])
    {
        $plugin = $this->get($name);
        if (! empty($options) && is_callable([$plugin, 'setOptions'])) {
            $plugin->setOptions($options);
        }

        return $plugin;
    }