프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$arguments | array | Arguments | |
$argumentsType | integer | Tells the argument types for this command | |
$availableArguments | array | All available optional arguments must be defined here. If they are processed by the method toArguments(), the $this->options variable will automatically provide the default values. | |
$options | array | Provide default argument values. If the value for the argument is not provided, is null, or is false, the option will not be used. | |
$responseHandler | string | Tells which class handles the response |
메소드 | 설명 | |
---|---|---|
getArguments ( ) : array | Get processed arguments for command | |
getCommand ( ) : string | Get command | |
isBlocking ( ) : boolean | Tells if this command blocks while waiting for a response, to avoid being affected by connection timeouts. | |
parse ( mixed $body ) : mixed | Parse response | |
setArguments ( array $arguments ) : void | Set arguments for the command |
메소드 | 설명 | |
---|---|---|
toArguments ( array $options ) : array | Build command arguments out of options |
public getArguments ( ) : array | ||
리턴 | array | Arguments |
public isBlocking ( ) : boolean | ||
리턴 | boolean | If true, this command blocks |
public setArguments ( array $arguments ) : void | ||
$arguments | array | Arguments |
리턴 | void |
protected toArguments ( array $options ) : array | ||
$options | array | Command options |
리턴 | array | Command arguments |
protected int $argumentsType | ||
리턴 | integer |
protected array $availableArguments | ||
리턴 | array |
protected array $options | ||
리턴 | array |
protected string $responseHandler | ||
리턴 | string |