public function getForDynamoDB()
    {
        if ($this->isArray()) {
            $value = array_map(function ($val) { return strval($val); }, $this->getValue());
        } else {
            $value = strval($this->getValue());
        }

        return array($this->getType() => $value);
    }
public function getForDynamoDB()
    {
        if ($this->isArray()) {
            $value = array_map(function ($val) { return strval($val); }, $this->getValue());
        } else {
            $value = strval($this->getValue());
        }

        return array($this->getType() => $value);
    }
public function getForDynamoDB ( ) { if ( $ this -> isArray ( ) ) { $ value = array_map ( function ( $ val ) { return strval ( $ val ) ; } , $ this -> getValue ( ) ) ; } else { $ value = strval ( $ this -> getValue ( ) ) ; } return array ( $ this -> getType ( ) => $ value ) ; }
Return attribute formated for DynamoDB
@return array
Return attribute formated for DynamoDB