定義
MongoDB\Model\DatabaseInfoこのクラスは、データベースに関する情報をモデル化します。 このクラスのインスタンスは、 によって返される
MongoDB\Model\DatabaseInfoIteratorMongoDB\Client::listDatabases()をトラバースすることで返されます。
バージョン 1.4 での変更
This class implements PHP's ArrayAccess interface. This provides a mechanism for accessing index fields for which there exists no helper method. isset() may be used to check for the existence of a field before accessing it with [].
注意
The MongoDB\Model\DatabaseInfo class is immutable. Attempting to modify it via the ArrayAccess interface will result in a MongoDB\Exception\BadMethodCallException.