src/Factory.php
public function option(string $name, string $option, $default = null)
    {
        if (! $this->extensions->has($name)) {
            return \value($default);
        }

        return Arr::get($this->extensions->get($name), $option, $default);
    }
public function option(string $name, string $option, $default = null)
    {
        if (! $this->extensions->has($name)) {
            return \value($default);
        }

        return Arr::get($this->extensions->get($name), $option, $default);
    }
Get an option for a given extension.

@param  string  $name
@param  string  $option
@param  mixed   $default

@return mixed