\TxTextControl\ReportingCloud\AssertAssertDocumentExtensionTrait

Trait AssertDocumentExtensionTrait

Summary

Methods
Properties
Constants
assertDocumentExtension()
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

assertDocumentExtension()

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

Check value is a valid document format extension

Parameters

string $value
string $message

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException