| 1 | <?php |
||
| 5 | abstract class PreNormalizedPart extends AbstractPart |
||
| 6 | { |
||
| 7 | protected $normalized = ''; |
||
| 8 | |||
| 9 | public function __construct(string $value, string $normalized = null) |
||
| 15 | |||
| 16 | /** |
||
| 17 | * if this is a lastname prefix, look up normalized version from registry |
||
| 18 | * otherwise camelcase the lastname |
||
| 19 | * |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | public function normalize(): string |
||
| 26 | } |
||
| 27 |