| 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: | * @param bool $fromData If `true`, `$name` is from data being applied to | 
| 14: | * the class, otherwise it is a trusted property or value name. | 
| 15: | * @param string ...$declaredName The names of any declared or "magic" | 
| 16: | * properties after normalisation. Not given if `$fromData` is `false`. | 
| 17: | */ | 
| 18: | public static function normaliseProperty( | 
| 19: | string $name, | 
| 20: | bool $fromData = true, | 
| 21: | string ...$declaredName | 
| 22: | ): string; | 
| 23: | } | 
| 24: |