Moved registration processing into Frame/Action
This commit is contained in:
@@ -66,4 +66,14 @@ abstract class Control
|
||||
}
|
||||
|
||||
abstract public function handle(string $read);
|
||||
|
||||
/**
|
||||
* If completing an Action frame, this will be called to submit the data.
|
||||
*
|
||||
* Ideally this should be overridden in a child class.
|
||||
*/
|
||||
public function process()
|
||||
{
|
||||
$this->complete = TRUE;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user