Sometimes it is necessary to retrieve the concrete adapter for the service that the
Document API is working with. This can be achieved by using the
getAdapter() method.
Note
Accessing the underlying adapter breaks portability among services, so it should be reserved for exceptional circumstances only.
Example 84. Using concrete adapters
<?php
// Since SimpleCloud Document API doesn't support batch upload, use concrete adapter
$amazonSdb = $documents->getAdapter();
$amazonSdb->batchPutAttributes($items, 'collectionName');




