This class is used to represent a control value in a request to Simpay API.
This property holds the control value.
This method is used to create a new instance of the Control class.
$value(string): The control value.
- Throws an
\InvalidArgumentExceptionif the$valueis empty or 0.
This method is used to return an array representation of the Control object.
- Returns an array with a single key
controland its value as$value.