public function configuredVersion( Whip_Requirement $requirement ) {
		if ( ! $this->hasRequirementConfigured( $requirement ) ) {
			return -1;
		}

		return $this->configuration[ $requirement->component() ];
	}
public function configuredVersion( Whip_Requirement $requirement ) {
		if ( ! $this->hasRequirementConfigured( $requirement ) ) {
			return -1;
		}

		return $this->configuration[ $requirement->component() ];
	}
public function configuredVersion ( Whip_Requirement $ requirement ) { if ( ! $ this -> hasRequirementConfigured ( $ requirement ) ) { return - 1 ; } return $ this -> configuration [ $ requirement -> component ( ) ] ; }
Retrieves the configured version of a particular requirement.

@param Whip_Requirement $requirement The requirement to check.

@return string|int The version of the passed requirement that was detected as a string.
If the requirement does not exist, this returns int -1.
Retrieves the configured version of a particular requirement .