1
0
mirror of synced 2024-12-16 08:06:02 +03:00
doctrine2/manual/docs/Configuration - Setting attributes - Fetching strategy.php

7 lines
161 B
PHP

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