shrink0r/workflux

View on GitHub
src/Param/OutputInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Workflux\Param;

use Workflux\Param\InputInterface;
use Workflux\Param\ParamHolderInterface;

interface OutputInterface extends ParamHolderInterface
{
    /**
     * @param string $current_state
     * @param InputInterface $input
     *
     * @return self
     */
    public static function fromInput(string $current_state, InputInterface $input): self;

    /**
     * @return string
     */
    public function getCurrentState(): string;
}