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 MatcherPackage

Matcher package

expect\MatcherPackage implements expect\RegisterablePackage
Final
Namespace: expect
Copyright: Noritaka Horio holy.shared.design@gmail.com
Author: Noritaka Horio holy.shared.design@gmail.com
Located at MatcherPackage.php
Methods summary
public
# __construct( string $namespace, string $namespaceDirectory )

Create a new macther package

Create a new macther package

Parameters

$namespace
namespace of package
$namespaceDirectory
directory of package
public
# registerTo( expect\MatcherRegistry $registry )

Register package to registry

Register package to registry

Parameters

$registry

Implementation of

expect\RegisterablePackage::registerTo()
public static
# fromPackageFile( string $composerJson )

Create a new matcher package from composer.json

Create a new matcher package from composer.json

Parameters

$composerJson
composer.json path

Throws

expect\package\ComposerJsonNotFoundException
Expect API documentation generated by ApiGen