protected assertMandatories ( stdClass $operation ) | ||
$operation | stdClass | The operation structure. |
protected function assertMandatories(\stdClass $operation)
{
if (!property_exists($operation, 'value')) {
throw new InvalidOperationException('Mandatory value property not set');
}
}