PHP Class Pinq\Iterators\Common\Identity

Author: Elliot Levin ([email protected])
Exibir arquivo Open project: timetoogo/pinq

Public Methods

Method Description
hash ( mixed $value ) : string Returns a string representing the supplied value's identity.
hashAll ( array $values ) : string[] Returns an array of string representations of the supplied values

Private Methods

Method Description
__construct ( )
arrayHash ( array $array )

Method Details

hash() public static method

Returns a string representing the supplied value's identity.
public static hash ( mixed $value ) : string
$value mixed
return string

hashAll() public static method

Returns an array of string representations of the supplied values
public static hashAll ( array $values ) : string[]
$values array
return string[]