Capped Collections ================== Capped collections are fixed sized collections that have a very high performance auto-LRU age-out feature (age out is based on insertion order). In addition, capped collections automatically, with high performance, maintain insertion order for the objects in the collection; this is very powerful for certain use cases such as logging. Mapping ------- You can configure the collection in the ``collection`` attribute of the ``@Document`` annotation: .. code-block:: php getSchemaManager()->createDocumentCollection('Category'); You can drop the collection too if it already exists: .. code-block:: php getSchemaManager()->dropDocumentCollection('Category');