WellCommerce\Component\DataGrid\Configuration\AbstractOption::get PHP Method

get() public method

Returns option value if exists
public get ( string $key ) : mixed
$key string
return mixed
    public function get(string $key)
    {
        if (!$this->has($key)) {
            throw new \InvalidArgumentException(sprintf('DataGrid option key "%s" was not found.', $key));
        }
        return $this->options[$key];
    }