Updated InstructionInterface

This commit is contained in:
Netkas 2022-12-25 19:01:33 -05:00
parent 08c4b3079e
commit 6e543a6e1b

View file

@ -37,4 +37,13 @@
* @return mixed * @return mixed
*/ */
public function eval(Engine $engine); public function eval(Engine $engine);
/**
* Returns a string representation of the instruction for debugging purposes
* this is not the same as the array representation, and is not intended to be
* used for serialization
*
* @return string
*/
public function __toString(): string;
} }