1
0
mirror of synced 2025-01-31 04:21:44 +03:00
doctrine2/classes/Collection/Lazy.class.php
doctrine 86b319e618 Improved validation API
require_once bug fix
2006-05-24 22:33:48 +00:00

19 lines
489 B
PHP

<?php
require_once("Batch.class.php");
/**
* a collection of Doctrine_Record objects with lazy load strategy
* (batch load strategy with batch size 1)
*/
class Doctrine_Collection_Lazy extends Doctrine_Collection_Batch {
/**
* constructor
* @param Doctrine_DQL_Parser $graph
* @param string $key
*/
public function __construct(Doctrine_Table $table) {
parent::__construct($table);
parent::setBatchSize(1);
}
}
?>