PHP Class Gui\Ipc\CommandMessage

This class is used as a CommandMessage object
Since: 0.1
Author: Gabriel Couto @gabrielrcouto
Inheritance: implements MessageInterface
Show file Open project: gabrielrcouto/php-gui

Public Properties

Property Type Description
$callback callable The command callback
$id integer The command id
$method string The command method
$params array The command params

Public Methods

Method Description
__construct ( string $method, array $params, callable $callback = null ) : void The constructor method

Method Details

__construct() public method

The constructor method
public __construct ( string $method, array $params, callable $callback = null ) : void
$method string
$params array
$callback callable
return void

Property Details

$callback public property

The command callback
public callable $callback
return callable

$id public property

The command id
public int $id
return integer

$method public property

The command method
public string $method
return string

$params public property

The command params
public array $params
return array