648.1. Zend\Validator\File\Crc32
Validator for the crc32 hash of given files
648.1.1. Methods
648.1.1.1. getCrc32
-
getCrc32()
Returns all set crc32 hashes
648.1.1.2. setCrc32
-
setCrc32()
Sets the crc32 hash for one or multiple files
Parameters: | string|array – |
Return type: | Crc32 Provides a fluent interface |
648.1.1.3. addCrc32
-
addCrc32()
Adds the crc32 hash for one or multiple files
Parameters: | string|array – |
Return type: | Crc32 Provides a fluent interface |
648.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 |
648.1.2. Constants
648.1.2.1. DOES_NOT_MATCH
@const string Error constants
648.1.2.2. NOT_DETECTED
648.1.2.3. NOT_FOUND