PHP 클래스 Cartalyst\Sentinel\Hashing\CallbackHasher

상속: implements Cartalyst\Sentinel\Hashing\HasherInterface
파일 보기 프로젝트 열기: cartalyst/sentinel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$check Closure The closure used for checking a hashed value.
$hash Closure The closure used for hashing a value.

공개 메소드들

메소드 설명
__construct ( Closure $hash, Closure $check ) : void Create a new callback hasher instance.
check ( $value, $hashedValue ) {@inheritDoc}
hash ( $value ) {@inheritDoc}

메소드 상세

__construct() 공개 메소드

Create a new callback hasher instance.
public __construct ( Closure $hash, Closure $check ) : void
$hash Closure
$check Closure
리턴 void

check() 공개 메소드

{@inheritDoc}
public check ( $value, $hashedValue )

hash() 공개 메소드

{@inheritDoc}
public hash ( $value )

프로퍼티 상세

$check 보호되어 있는 프로퍼티

The closure used for checking a hashed value.
protected Closure $check
리턴 Closure

$hash 보호되어 있는 프로퍼티

The closure used for hashing a value.
protected Closure $hash
리턴 Closure