1: | <?php declare(strict_types=1); |
2: | |
3: | namespace Salient\Contract\Core; |
4: | |
5: | /** |
6: | * @api |
7: | */ |
8: | interface Normalisable |
9: | { |
10: | /** |
11: | * Normalise the name of a property of the class |
12: | * |
13: | * Arguments after `$name` may be ignored. |
14: | */ |
15: | public static function normalise(string $name, bool $greedy = true, string ...$hints): string; |
16: | } |
17: |