phpOMS/Algorithm/Sort/SortableInterface.php
2019-08-10 23:23:06 +02:00

29 lines
568 B
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.2
*
* @package phpOMS\Algorithm\Sort;
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
namespace phpOMS\Algorithm\Sort;
/**
* SortableInterface class.
*
* @package phpOMS\Algorithm\Sort;
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
interface SortableInterface
{
public function compare(self $obj, int $order = SortOrder::ASC) : bool;
}