An exception will be thrown if this option isn't an array, or if this option isn't found, and no
default value is given.
public getArray ( string $name, mixed $default = self::REQUIRED_OPTION ) : array | mixed | ||
$name | string | The name of the option. |
$default | mixed | A default value which will be returned if the option isn't found. The option will be required if this parameter isn't given. The default value can be any value, including null. |
return | array | mixed | The option with the given name, or $default if the option isn't found and $default is specified. |