정의
MongoDB\Model\CollectionInfo이 클래스는 collection에 대한 정보를 모델링합니다. 이 클래스의 인스턴스는
MongoDB\Database::listCollections()에서 반환되는MongoDB\Model\CollectionInfoIterator를 순회하여 반환됩니다
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\CollectionInfo class is immutable. Attempting to modify it via the ArrayAccess interface will result in a MongoDB\Exception\BadMethodCallException.