public function toMappedArray()
    {
        $values = $this->toArray();
        $mappedValues = [];
        foreach ($values as $key => $value) {
            $mappedValues[$key] = $this->readMapped($key);
        }

        return $mappedValues;
    }
public function toMappedArray()
    {
        $values = $this->toArray();
        $mappedValues = [];
        foreach ($values as $key => $value) {
            $mappedValues[$key] = $this->readMapped($key);
        }

        return $mappedValues;
    }
public function toMappedArray ( ) { $ values = $ this -> toArray ( ) ; $ mappedValues = [ ] ; foreach ( $ values as $ key => $ value ) { $ mappedValues [ $ key ] = $ this -> readMapped ( $ key ) ; } return $ mappedValues ; }
Returns array of attributes with mapped values

@return array
Returns array of attributes with mapped values