SAREhub/php_component_worker

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

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace SAREhub\Component\Worker\Command;

/**
 * Base interface for all commands
 */
interface Command {
    
    public function getCorrelationId();
    
    /**
     * @return string
     */
    public function getName();
    
    /**
     * @return array
     */
    public function getParameters();
    
    public function __toString();
}