api/laravel/Contracts/Hashing/Hasher.yaml

67 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
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: []