for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\DoctrineORMAdminBundle\Tests\Fixtures\Query;
use Doctrine\ORM\Query\SqlWalker;
final class FooWalker extends SqlWalker
{
public function walkOrderByClause($orderByClause)
return str_replace(' ASC', ' DESC', parent::walkOrderByClause($orderByClause));
}