PHP Класс AppserverIo\Appserver\Core\Commands\InitCommand

Автор: Tim Wagner ([email protected])
Наследование: implements AppserverIo\Appserver\Core\Commands\CommandInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( React\Socket\ConnectionInterface $connection, AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer ) Initializes the command with the connection and the application server instance to execute the command on.
execute ( array $params = [] ) : mixed | null Executes the command.

Описание методов

__construct() публичный метод

Initializes the command with the connection and the application server instance to execute the command on.
public __construct ( React\Socket\ConnectionInterface $connection, AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface $applicationServer )
$connection React\Socket\ConnectionInterface The connection instance
$applicationServer AppserverIo\Appserver\Core\Interfaces\ApplicationServerInterface The application server instance

execute() публичный метод

Executes the command.
См. также: AppserverIo\Appserver\Core\Commands\CommandInterface::execute()
public execute ( array $params = [] ) : mixed | null
$params array The arguments passed to the command
Результат mixed | null The result of the command