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

Class MatcherDictionary

Immutable container of matcher.

expect\MatcherDictionary implements expect\MatcherContainer uses expect\MatcherLookupTable
Final
Namespace: expect
Copyright: Noritaka Horio holy.shared.design@gmail.com
Author: Noritaka Horio holy.shared.design@gmail.com
Located at MatcherDictionary.php
Methods summary
public
# __construct( array $matchers )

Create matcher dictionary.

Create matcher dictionary.

Parameters

$matchers
classes
public integer
# count( )

Count elements of an matcher class.

Count elements of an matcher class.

Returns

integer
Methods inherited from expect\MatcherContainer
get(), has()
Methods used from expect\MatcherLookupTable
get(), has(), hasNot()
Expect API documentation generated by ApiGen