private function requirementIsFulfilled( Whip_Requirement $requirement ) {
		$availableVersion = $this->configuration->configuredVersion( $requirement );
		$requiredVersion  = $requirement->version();

		if ( in_array( $requirement->operator(), array( '=', '==', '===' ), true ) ) {
			return -1 !== version_compare( $availableVersion, $requiredVersion );
		}

		return version_compare( $availableVersion, $requiredVersion, $requirement->operator() );
	}
private function requirementIsFulfilled( Whip_Requirement $requirement ) {
		$availableVersion = $this->configuration->configuredVersion( $requirement );
		$requiredVersion  = $requirement->version();

		if ( in_array( $requirement->operator(), array( '=', '==', '===' ), true ) ) {
			return -1 !== version_compare( $availableVersion, $requiredVersion );
		}

		return version_compare( $availableVersion, $requiredVersion, $requirement->operator() );
	}
private function requirementIsFulfilled ( Whip_Requirement $ requirement ) { $ availableVersion = $ this -> configuration -> configuredVersion ( $ requirement ) ; $ requiredVersion = $ requirement -> version ( ) ; if ( in_array ( $ requirement -> operator ( ) , array ( '=' , '==' , '===' ) , true ) ) { return - 1 !== version_compare ( $ availableVersion , $ requiredVersion ) ; } return version_compare ( $ availableVersion , $ requiredVersion , $ requirement -> operator ( ) ) ; }
Determines whether a requirement has been fulfilled.

@param Whip_Requirement $requirement The requirement to check.

@return bool Whether or not the requirement is fulfilled.
Determines whether a requirement has been fulfilled .