. */ /** * Doctrine_Query_Part * * @package Doctrine * @subpackage Query * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.com * @since 1.0 * @version $Revision$ * @author Konsta Vesterinen */ abstract class Doctrine_Query_Part { /** * @var Doctrine_Query $query the query object associated with this parser */ protected $query; /** * @param Doctrine_Query $query the query object associated with this parser */ public function __construct($query) { $this->query = $query; } /** * @return Doctrine_Query $query the query object associated with this parser */ public function getQuery() { return $this->query; } }