082a0130c2
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
31 lines
823 B
PHP
31 lines
823 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Doctrine Bundle
|
|
*
|
|
* The code was originally distributed inside the Symfony framework.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
* (c) Doctrine Project, Benjamin Eberlei <kontakt@beberlei.de>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Doctrine\Bundle\DoctrineBundle\Tests\DependencyInjection;
|
|
|
|
use Doctrine\ORM\Query\Filter\SQLFilter;
|
|
use Doctrine\ORM\Mapping\ClassMetadata;
|
|
|
|
class TestFilter extends SQLFilter
|
|
{
|
|
/**
|
|
* Gets the SQL query part to add to a query.
|
|
*
|
|
* @return string The constraint SQL if there is available, empty string otherwise
|
|
*/
|
|
public function addFilterConstraint(ClassMetadata $targetEntity, $targetTableAlias)
|
|
{
|
|
}
|
|
}
|