\TxTextControl\ReportingCloud\AssertAssertOneOfTrait

Trait AssertOneOfTrait

Summary

Methods
Properties
Constants
assertOneOf()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

assertOneOf()

assertOneOf(mixed  $value, array<int,int|string>  $values, string  $message = '') : void

Check value is in values

Parameters

mixed $value
array $values
string $message

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException