PHP 클래스 IdenticalBinaryConstraint, Halite

저자: Chris Corbyn
상속: extends PHPUnit_Framework_Constraint
파일 보기 프로젝트 열기: HaliteChallenge/Halite

보호된 프로퍼티들

프로퍼티 타입 설명
$value

공개 메소드들

메소드 설명
__construct ( $value )
matches ( mixed $other ) : boolean Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.
toString ( ) : string Returns a string representation of the constraint.

비공개 메소드들

메소드 설명
asHexString ( string $binary ) : string Get the given string of bytes as a stirng of Hexadecimal sequences.

메소드 상세

__construct() 공개 메소드

public __construct ( $value )

matches() 공개 메소드

Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.
public matches ( mixed $other ) : boolean
$other mixed Value or object to evaluate.
리턴 boolean

toString() 공개 메소드

Returns a string representation of the constraint.
public toString ( ) : string
리턴 string

프로퍼티 상세

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

protected $value