SAREhub/php_component_worker

View on GitHub
src/SAREhub/Component/Worker/Command/CommandReplyOutput.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace SAREhub\Component\Worker\Command;

interface CommandReplyOutput {
    
    /**
     * Sends reply for command
     * @param CommandReply $reply
     * @param bool $wait
     * @return
     */
    public function send(CommandReply $reply, $wait = false);
    
    /**
     * Will close command input
     */
    public function close();
}