jeyroik/extas-jsonrpc

View on GitHub
src/interfaces/stages/IStageJsonRpcCommand.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace extas\interfaces\stages;

use extas\commands\JsonrpcCommand;

/**
 * Interface IStageJsonRpcCommand
 *
 * @package extas\interfaces\stages
 * @author jeyroik@gmail.com
 */
interface IStageJsonRpcCommand
{
    public const NAME = 'extas.jsonrpc.command';

    /**
     * @param JsonrpcCommand $command
     */
    public function __invoke(JsonrpcCommand &$command): void;
}