664.1. Zend\Validator\File\Md5
Validator for the md5 hash of given files
664.1.1. Methods
664.1.1.1. getMd5
-
getMd5()
Returns all set md5 hashes
664.1.1.2. setMd5
-
setMd5()
Sets the md5 hash for one or multiple files
Parameters: | string|array – |
Return type: | Hash Provides a fluent interface |
664.1.1.3. addMd5
-
addMd5()
Adds the md5 hash for one or multiple files
Parameters: | string|array – |
Return type: | Hash Provides a fluent interface |
664.1.1.4. isValid
-
isValid()
Returns true if and only if the given file confirms the set hash
Parameters: | string|array – Filename to check for hash |
Return type: | bool |
664.1.2. Constants
664.1.2.1. DOES_NOT_MATCH
@const string Error constants
664.1.2.2. NOT_DETECTED
664.1.2.3. NOT_FOUND