I use Doctrine Mongo db bundle with Symfony2. Information about string, int etc data types in the Doctrine Mongodb documents. But, I could not find object data types.
The question: How do I add an object into MongoDB using Doctrine? How do I define (object type) in the document class?
Assuming by "Object" you mean document (mongodb) or Hash (javascript), or in other words a Key-value array, then see field type hash in doctrine-mongo docs.
http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/reference/annotations-reference.html