Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

424 B
Raw Blame
<?php

namespace HiEvents\DomainObjects\Interfaces;

use HiEvents\DomainObjects\SortingAndFiltering\AllowedSorts;

interface IsSortable
{
    /**
     * The default sort column
     */
    public static function getDefaultSort(): string;

    /**
     * The default sort order - asc or desc
     */
    public static function getDefaultSortDirection(): string;

    public static function getAllowedSorts(): AllowedSorts;
}