aws-doc-sdk-examples
aws-doc-sdk-examples copied to clipboard
PHP - MockHandler
The example at https://docs.aws.amazon.com/en_us/code-samples/latest/catalog/php-s3-MockHandler.php.html has undefined variables which prevent it from working. It also lacks context about why MockHandler might be used.
Update and use the MockHandler found within DynamoDB as a template.
Created from Documentation Feedback ticket:
code incomplete / doesn't work (undefined vars, usage of $s3Client and $client)