<code type="php"> // sets the default collection type (fetching strategy) $manager->setAttribute(Doctrine::ATTR_FETCHMODE, Doctrine::FETCH_LAZY); </code>