public function getKeyValuePair() {
        $result = array();

        foreach ($this->items as $key => $entry) {
            $result[$key] = $entry->value;
        }

        return $result;
    }
public function getKeyValuePair() {
        $result = array();

        foreach ($this->items as $key => $entry) {
            $result[$key] = $entry->value;
        }

        return $result;
    }
public function getKeyValuePair ( ) { $ result = array ( ) ; foreach ( $ this -> items as $ key => $ entry ) { $ result [ $ key ] = $ entry -> value ; } return $ result ; }
Gets the key-value pair.

@return array
Gets the key - value pair .