. */ /** * Doctrine_Query_Offset * * @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_Offset extends Doctrine_Query_Part { public function parse($offset) { $this->query->setQueryPart('offset', (int) $offset); return $this->query; } }