__construct ( $value )

Constructor for DynamoDB Binary type.

Access

public

Parameters

Parameter

Type

Required

Description

$value

string

Required

The binary value.

Source

Method defined in services/dynamodb.class.php | Toggle source view (4 lines) | View on GitHub

public function __construct($value)
{
    $this->{AmazonDynamoDB::TYPE_BINARY} = base64_encode((string) $value);
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback