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