1
0
mirror of synced 2025-01-19 15:01:40 +03:00
doctrine2/classes/Collection/Lazy.class.php
doctrine 571cb46726
2006-04-13 20:37:28 +00:00

19 lines
549 B
PHP

<?php
require_once(Doctrine::getPath().DIRECTORY_SEPARATOR."Collection.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_DQL_Parser $graph,$key) {
parent::setBatchSize(1);
parent::__construct($graph,$key);
}
}
?>