PHP Class Thruway\Subscription\PrefixMatcher

Inheritance: implements Thruway\Subscription\MatcherInterface
Datei anzeigen Open project: voryx/thruway

Public Methods

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

Private Methods

Method Description
fixupUri ( $uri )

Method Details

getMatchHash() public method

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

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