1
0
mirror of synced 2025-01-19 15:01:40 +03:00

33 lines
796 B
PHP
Raw Normal View History

<?php
namespace Doctrine\Tests\ORM\Hydration;
require_once dirname(__FILE__) . '/../../TestInit.php';
/**
* Description of HydrationTest
*
* @author robo
*/
class HydrationTest extends \Doctrine\Tests\OrmTestCase
{
protected $_em;
protected function setUp()
{
parent::setUp();
$this->_em = $this->_getTestEntityManager();
}
/** Helper method */
protected function _createParserResult($queryComponents, $tableToClassAliasMap, $isMixedQuery = false)
{
$parserResult = new \Doctrine\ORM\Query\ParserResultDummy();
$parserResult->setQueryComponents($queryComponents);
$parserResult->setTableToClassAliasMap($tableToClassAliasMap);
$parserResult->setMixedQuery($isMixedQuery);
return $parserResult;
}
}