OpenXE/vendor/aura/sqlquery/src/Common/OrderByInterface.php
2021-05-21 08:49:41 +02:00

31 lines
482 B
PHP

<?php
/**
*
* This file is part of Aura for PHP.
*
* @license http://opensource.org/licenses/bsd-license.php BSD
*
*/
namespace Aura\SqlQuery\Common;
/**
*
* An interface for ORDER BY clauses.
*
* @package Aura.SqlQuery
*
*/
interface OrderByInterface
{
/**
*
* Adds a column order to the query.
*
* @param array $spec The columns and direction to order by.
*
* @return $this
*
*/
public function orderBy(array $spec);
}