mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 23:16:33 +02:00
remove Interface-Suffix
This commit is contained in:
15
Behavioral/Strategy/Comparator.php
Normal file
15
Behavioral/Strategy/Comparator.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DesignPatterns\Behavioral\Strategy;
|
||||
|
||||
interface Comparator
|
||||
{
|
||||
/**
|
||||
* @param mixed $a
|
||||
* @param mixed $b
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function compare($a, $b): int;
|
||||
}
|
Reference in New Issue
Block a user