PHP Класс IdenticalBinaryConstraint, Halite

Автор: Chris Corbyn
Наследование: extends PHPUnit_Framework_Constraint
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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