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 Dictionary

expect\Dictionary implements Countable
Final
Namespace: expect
Located at Dictionary.php
Methods summary
public
# __construct( array $values = [] )
public boolean
# containsKey( string $key )

Parameters

$key
$value

Returns

boolean
public mixed
# get( string $key )

Parameters

$key
$value

Returns

mixed
public
# set( $key, $value )
public integer
# count( )

Returns

integer

Implementation of

Countable::count()
public
# toArray( )
public static
# fromArray( array $values = [] )
Expect API documentation generated by ApiGen