PHPackages                             doctrine/mongodb-odm-tailable-cursor-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. doctrine/mongodb-odm-tailable-cursor-bundle

AbandonedArchivedSymfony-bundle[Database &amp; ORM](/categories/database)

doctrine/mongodb-odm-tailable-cursor-bundle
===========================================

1662PHP

Since May 23Pushed 13y ago11 watchersCompare

[ Source](https://github.com/doctrine/doctrine-mongodb-odm-tailable-cursor-bundle)[ Packagist](https://packagist.org/packages/doctrine/mongodb-odm-tailable-cursor-bundle)[ RSS](/packages/doctrine-mongodb-odm-tailable-cursor-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Doctrine MongoDB Tailable Cursor Bundle
=======================================

[](#doctrine-mongodb-tailable-cursor-bundle)

This is a simple command which allows you to tail a MongoDB cursor for a capped collection in a daemon like Symfony2 console command that runs forever processing new documents as they inserted to the capped collection.

The bundle consists of a single interface and a console command. The command is:

```
$ ./app/console doctrine:mongodb:tail-cursor

```

The arguments are:

- document - The name of the document class to tail.
- finder - The method used on the repository for the document to get the cursor.
- processor - The name of the service to use to process each document.

The processor must implement the simple ProcessorInterface:

```
