You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TAATP/src/WorkflowInterface.php

25 lines
457 B

<?php declare(strict_types=1);
namespace BradyMcD\TAATP;
interface WorkflowInterface
{
/**
* echo's the workflow's relevant form.
* @return void
*/
public function view();
/**
* returns the workflow's relevant form.
* @return string
*/
public function emitStr(): string;
/**
* Handles any response given to the workflow's form.
* @return bool
*/
public function response(): bool;
}
?>