library/QATools/QATools/PageObject/PageUrlMatcher/ComponentPageUrlMatcher.php
protected function matchByProperty(
		MatchUrlComponentAnnotation $annotation,
		Parser $parser,
		$property,
		$component = null
	) {
		// Not specified means match anything.
		if ( !isset($annotation->$property) ) {
			return true;
		}

		return $parser->getComponent(isset($component) ? $component : $property) === $annotation->$property;
	}
protected function matchByProperty(
		MatchUrlComponentAnnotation $annotation,
		Parser $parser,
		$property,
		$component = null
	) {
		// Not specified means match anything.
		if ( !isset($annotation->$property) ) {
			return true;
		}

		return $parser->getComponent(isset($component) ? $component : $property) === $annotation->$property;
	}
protected function matchByProperty ( MatchUrlComponentAnnotation $ annotation , Parser $ parser , $ property , $ component = null ) { // Not specified means match anything. if ( ! isset ( $ annotation -> $ property ) ) { return true ; } return $ parser -> getComponent ( isset ( $ component ) ? $ component : $ property ) === $ annotation -> $ property ; }
Matches property.

@param MatchUrlComponentAnnotation $annotation The annotation.
@param Parser                      $parser     Parser instance to match against.
@param string                      $property   Property name.
@param string|null                 $component  Component name.

@return boolean
Matches property .