InputInterface

InputInterface

interface InputInterface

InputInterface is the interface implemented by all input classes.

Methods

string getFirstArgument()

Returns the first argument from the raw parameters (not parsed).

bool hasParameterOption(string|array $values)

Returns true if the raw parameters (not parsed) contain a value.

mixed getParameterOption(string|array $values, mixed $default = false)

Returns the value of a raw option (not parsed).

bind(登录查看完整内容