67 lines
1.1 KiB
YAML
67 lines
1.1 KiB
YAML
|
name: Hasher
|
||
|
class_comment: null
|
||
|
dependencies: []
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: info
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: hashedValue
|
||
|
comment: '# * Get information about the given hashed value.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $hashedValue
|
||
|
|
||
|
# * @return array'
|
||
|
- name: make
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: value
|
||
|
- name: options
|
||
|
default: '[]'
|
||
|
comment: '# * Hash the given value.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $value
|
||
|
|
||
|
# * @param array $options
|
||
|
|
||
|
# * @return string'
|
||
|
- name: check
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: value
|
||
|
- name: hashedValue
|
||
|
- name: options
|
||
|
default: '[]'
|
||
|
comment: '# * Check the given plain value against a hash.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $value
|
||
|
|
||
|
# * @param string $hashedValue
|
||
|
|
||
|
# * @param array $options
|
||
|
|
||
|
# * @return bool'
|
||
|
- name: needsRehash
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: hashedValue
|
||
|
- name: options
|
||
|
default: '[]'
|
||
|
comment: '# * Check if the given hash has been hashed using the given options.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $hashedValue
|
||
|
|
||
|
# * @param array $options
|
||
|
|
||
|
# * @return bool'
|
||
|
traits: []
|
||
|
interfaces: []
|