original_string: final protected function arrayUnmap($array, $keyLbl='id', $valueLbl='title') {
          $result=array();
          
          foreach($array as $key=>$value) {
              $result[]=array(
                              $keyLbl=>$key,
                              $valueLbl=>$value
                          );
          }
          
          
          //Return the resulting array
          return $result;
      }
code: final protected function arrayUnmap($array, $keyLbl='id', $valueLbl='title') {
          $result=array();
          
          foreach($array as $key=>$value) {
              $result[]=array(
                              $keyLbl=>$key,
                              $valueLbl=>$value
                          );
          }
          
          
          //Return the resulting array
          return $result;
      }
code_tokens: final protected function arrayUnmap ( $ array , $ keyLbl = 'id' , $ valueLbl = 'title' ) { $ result = array ( ) ; foreach ( $ array as $ key => $ value ) { $ result [ ] = array ( $ keyLbl => $ key , $ valueLbl => $ value ) ; } //Return the resulting array return $ result ; }
docstring: Converts an array where the key and value should be mapped to a nested array
  @param {array} $array Source Array
  @param {string} $keyLbl Array's Key mapping name
  @param {string} $valueLbl Key's value mapping name
  @return {array} Unmapped array
docstring_tokens: Converts an array where the key and value should be mapped to a nested array