Eloquent\Phony\Matcher\MatcherFactory::__construct PHP Метод

__construct() публичный Метод

Construct a new matcher factory.
public __construct ( Eloquent\Phony\Matcher\Matcher $anyMatcher, WildcardMatcher $wildcardAnyMatcher, Eloquent\Phony\Exporter\Exporter $exporter )
$anyMatcher Eloquent\Phony\Matcher\Matcher A matcher that matches any value.
$wildcardAnyMatcher WildcardMatcher A matcher that matches any number of arguments of any value.
$exporter Eloquent\Phony\Exporter\Exporter The exporter to use.
    public function __construct(Matcher $anyMatcher, WildcardMatcher $wildcardAnyMatcher, Exporter $exporter)
    {
        $this->drivers = array();
        $this->driverIndex = array();
        $this->anyMatcher = $anyMatcher;
        $this->wildcardAnyMatcher = $wildcardAnyMatcher;
        $this->exporter = $exporter;
    }