Sonata\Component\Delivery\BaseServiceDelivery::getOption PHP 메소드

getOption() 공개 메소드

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