Overview

Namespaces

  • expect
    • config
    • configurator
    • context
    • factory
    • matcher
      • strategy
    • package
    • registry
    • reporter

Classes

  • Dictionary
  • Expect
  • FailedMessage
  • MatcherDictionary
  • MatcherEvaluator
  • MatcherPackage
  • Result

Interfaces

  • Configurable
  • Configuration
  • Configurator
  • Context
  • ContextFactory
  • Evaluator
  • Matcher
  • MatcherContainer
  • MatcherFactory
  • MatcherRegistry
  • Message
  • PackageRegistrar
  • RegisterablePackage
  • ResultReporter

Traits

  • MatcherLookupTable

Functions

  • expect
  • Overview
  • Namespace
  • Class

Interface Matcher

To verify whether consistent with the results value is expected.

Direct known implementers

expect\matcher\PatternMatcher, expect\matcher\ReportableMatcher, expect\matcher\TruthyMatcher

Indirect known implementers

expect\matcher\ToBe, expect\matcher\ToBeA, expect\matcher\ToBeFalsey, expect\matcher\ToBeFloat, expect\matcher\ToBeGreaterThan, expect\matcher\ToBeInteger, expect\matcher\ToBeLessThan, expect\matcher\ToBeNull, expect\matcher\ToBeString, expect\matcher\ToBeTrue, expect\matcher\ToBeTruthy, expect\matcher\ToBeWithin, expect\matcher\ToBeAbove, expect\matcher\ToContain, expect\matcher\ToEndWith, expect\matcher\ToEqual, expect\matcher\ToHaveKey, expect\matcher\ToHaveLength, expect\matcher\ToMatch, expect\matcher\ToPrint, expect\matcher\ToStartWith, expect\matcher\ToThrow, expect\matcher\ToBeAn, expect\matcher\ToBeAnInstanceOf, expect\matcher\ToBeArray, expect\matcher\ToBeBelow, expect\matcher\ToBeBoolean, expect\matcher\ToBeEmpty, expect\matcher\ToBeFalse
Namespace: expect
Copyright: Noritaka Horio holy.shared.design@gmail.com
Author: Noritaka Horio holy.shared.design@gmail.com
Located at Matcher.php
Methods summary
public boolean
# match( mixed $actual )

Verify whether the value is consistent with what is expected. Returns true if the value matches the contents to be expected.

Verify whether the value is consistent with what is expected. Returns true if the value matches the contents to be expected.

Parameters

$actual
value of actual

Returns

boolean
results of evaluation
Expect API documentation generated by ApiGen