Skip to content

Commit

Permalink
EZP-32111: Added ContentTranslatedName sort clause
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwojs committed Dec 5, 2020
1 parent af04642 commit 4270f59
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
declare(strict_types=1);

namespace eZ\Publish\API\Repository\Values\Content\Query\SortClause;

use eZ\Publish\API\Repository\Values\Content\Query;
use eZ\Publish\API\Repository\Values\Content\Query\SortClause;

final class ContentTranslatedName extends SortClause
{
public function __construct(string $sortDirection = Query::SORT_ASC)
{
parent::__construct('content_translated_name', $sortDirection);
}
}

0 comments on commit 4270f59

Please sign in to comment.