Вход Регистрация
Файл: gapps/vendor/laravel/framework/src/Illuminate/Contracts/Hashing/Hasher.php
Строк: 36
<?php

namespace IlluminateContractsHashing;

interface 
Hasher
{
    
/**
     * Hash the given value.
     *
     * @param  string  $value
     * @param  array   $options
     * @return string
     */
    
public function make($value, array $options = []);

    
/**
     * Check the given plain value against a hash.
     *
     * @param  string  $value
     * @param  string  $hashedValue
     * @param  array   $options
     * @return bool
     */
    
public function check($value$hashedValue, array $options = []);

    
/**
     * Check if the given hash has been hashed using the given options.
     *
     * @param  string  $hashedValue
     * @param  array   $options
     * @return bool
     */
    
public function needsRehash($hashedValue, array $options = []);
}
Онлайн: 0
Реклама