src/Ipunkt/SocialAuth/Profile/CompositeProfile.php
protected function getValue($field) {
		$value = null;
		$readField = 'get'.$field;

		foreach($this->readProfiles as $profile) {
			
			$value = $profile->$readField();
			if($value !== null) {
				$this->setValue($field, $value);
				break;
			}
		}
		

		return $value;
	}
protected function getValue($field) {
		$value = null;
		$readField = 'get'.$field;

		foreach($this->readProfiles as $profile) {
			
			$value = $profile->$readField();
			if($value !== null) {
				$this->setValue($field, $value);
				break;
			}
		}
		

		return $value;
	}
protected function getValue ( $ field ) { $ value = null ; $ readField = 'get' . $ field ; foreach ( $ this -> readProfiles as $ profile ) { $ value = $ profile -> $ readField ( ) ; if ( $ value !== null ) { $ this -> setValue ( $ field , $ value ) ; break ; } } return $ value ; }
Searches all profiles for the given value

@param $field
@return mixed
Searches all profiles for the given value