Sonata\Component\Delivery\BaseServiceDelivery::getOption PHP Method

getOption() public method

Returns the option $name.
public getOption ( string $name, mixed $default = null ) : mixed
$name string
$default mixed
return mixed
    public function getOption($name, $default = null)
    {
        return isset($this->options[$name]) ? $this->options[$name] : $default;
    }