\TxTextControl\ReportingCloud\AssertAssertCultureTrait

Trait AssertLanguageTrait

Summary

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

Methods

assertCulture()

assertCulture(string  $value, string  $message = '') : void

Check value is a valid culture

Parameters

string $value
string $message

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException

getCulturesFilename()

getCulturesFilename() : string

Return the filename, containing cultures array

Returns

string —

getCultures()

getCultures() : array<int,string>

Return cultures array

Returns

array