\CryptoManana\Core\Traits\CommonValidationsFileNameValidationTrait

Trait FileNameValidationTrait - Reusable implementation of file name and path validations.

Summary

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

Methods

validateFileNamePath()

validateFileNamePath(string  $filename) 

Internal method for location and filename validation.

Parameters

string $filename

The filename and location.

Throws

\Exception

Validation errors.