Documentation

IdenticalBinaryConstraint extends Constraint
in package

A binary safe string comparison.

Tags
author

Chris Corbyn

Table of Contents

$value  : mixed
__construct()  : mixed
matches()  : bool
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
Get the given string of bytes as a stirng of Hexadecimal sequences.

Properties

Methods

matches()

Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.

public matches(mixed $other) : bool
Parameters
$other : mixed

Value or object to evaluate.

Return values
bool

toString()

Returns a string representation of the constraint.

public toString() : string
Return values
string

asHexString()

Get the given string of bytes as a stirng of Hexadecimal sequences.

private asHexString(string $binary) : string
Parameters
$binary : string
Return values
string

Search results