Documentation

Command
in package

Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.

Table of Contents

Properties

$arguments  : array<string|int, mixed>|null
Arguments that the command handler should be invoked with.
$command  : string|null
The identifier of the actual command handler.
$title  : string|null
Title of the command, like `save`.

Methods

__construct()  : mixed

Properties

$arguments

Arguments that the command handler should be invoked with.

public array<string|int, mixed>|null $arguments

$command

The identifier of the actual command handler.

public string|null $command

$title

Title of the command, like `save`.

public string|null $title

Methods

__construct()

public __construct([string|null $title = null ][, string|null $command = null ][, array<string|int, mixed>|null $arguments = null ]) : mixed
Parameters
$title : string|null = null
$command : string|null = null
$arguments : array<string|int, mixed>|null = null

        
On this page

Search results