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

		return $parser->getComponent('scheme') === ($annotation->secure ? 'https' : 'http');
	}
protected function matchSecure(MatchUrlComponentAnnotation $annotation, Parser $parser)
	{
		// Not specified means match anything.
		if ( !isset($annotation->secure) ) {
			return true;
		}

		return $parser->getComponent('scheme') === ($annotation->secure ? 'https' : 'http');
	}
protected function matchSecure ( MatchUrlComponentAnnotation $ annotation , Parser $ parser ) { // Not specified means match anything. if ( ! isset ( $ annotation -> secure ) ) { return true ; } return $ parser -> getComponent ( 'scheme' ) === ( $ annotation -> secure ? 'https' : 'http' ) ; }
Matches secure option.

@param MatchUrlComponentAnnotation $annotation The annotation.
@param Parser                      $parser     Parser instance to match against.

@return boolean
Matches secure option .