. */ /** * Doctrine_Query_Limit * * @package Doctrine * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @category Object Relational Mapping * @link www.phpdoctrine.com * @since 1.0 * @version $Revision: 1352 $ * @author Konsta Vesterinen */ class Doctrine_Query_Limit extends Doctrine_Query_Part { public function parse($limit) { $this->query->setQueryPart('limit', (int) $limit); return $this->query; } }