Loading [MathJax]/extensions/tex2jax.js
PocketMine-MP 5.25.3 git-afc4a3c7f18d42b41cbfde84ab6a2e4dd7c03045
All Classes Namespaces Functions Variables Enumerations Enumerator Pages
pocketmine\form\Form Interface Reference
+ Inheritance diagram for pocketmine\form\Form:
+ Collaboration diagram for pocketmine\form\Form:

Public Member Functions

 handleResponse (Player $player, $data)
 

Detailed Description

Form implementations must implement this interface to be able to utilize the Player form-sending mechanism. There is no restriction on custom implementations other than that they must implement this.

Definition at line 32 of file Form.php.

Member Function Documentation

◆ handleResponse()

pocketmine\form\Form::handleResponse ( Player $player,
$data )

Handles a form response from a player.

Parameters
mixed$data
Exceptions
FormValidationExceptionif the data could not be processed

The documentation for this interface was generated from the following file: