ldc-le-gaulois-pro/app/Interfaces/OrderableInterface.php

22 lines
398 B
PHP
Raw Permalink Normal View History

<?php
namespace App\Interfaces;
interface OrderableInterface
{
/**
* Returns the priority order value.
*
* @return integer
*/
public function getPriorityOrder(): int;
/**
* Returns the grouping field used for ordering.
* Returns null if the order is global.
*
* @return string|null
*/
public function getOrderGroupField(): ?string;
}