\TxTextControl\ReportingCloud\AssertAssertDocumentThumbnailExtensionTrait

Trait AssertDocumentThumbnailExtensionTrait

Summary

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

assertDocumentThumbnailExtension()

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

Check value is a valid document thumbnail format extension

This is a special case assert method that is used only by TxTextControl\ReportingCloud\ReportingCloud::getDocumentThumbnails() as this method additionally accepts files in XLSX format. No other methods do.

Parameters

string $value
string $message

Throws

\TxTextControl\ReportingCloud\Exception\InvalidArgumentException