PHP Class Thruway\Subscription\ExactMatcher

Inheritance: implements Thruway\Subscription\MatcherInterface
ファイルを表示 Open project: voryx/thruway

Public Methods

Method Description
getMatchHash ( $uri, $options ) : string
getMatchTypes ( ) : array
isSubGroup ( $parentUri, $parentOptions, $childUri, $childOptions ) : mixed
matches ( $eventUri, $subscriptionUri, $subscriptionOptions ) : boolean
uriIsValid ( $uri, $options ) : boolean

Method Details

getMatchHash() public method

public getMatchHash ( $uri, $options ) : string
$uri
$options
return string

getMatchTypes() public method

public getMatchTypes ( ) : array
return array

isSubGroup() public method

public isSubGroup ( $parentUri, $parentOptions, $childUri, $childOptions ) : mixed
$parentUri
$parentOptions
$childUri
$childOptions
return mixed

matches() public method

public matches ( $eventUri, $subscriptionUri, $subscriptionOptions ) : boolean
$eventUri
$subscriptionUri
$subscriptionOptions
return boolean

uriIsValid() public method

public uriIsValid ( $uri, $options ) : boolean
$uri
$options
return boolean