lib/3rdParty/composer/spomky-labs/pki-framework/src/X501/StringPrep/PrepareStep.php
raw symbols SCIP| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace SpomkyLabs\Pki\X501\StringPrep; |
| 6 | |
| 7 | /** |
| 8 | * Interface for string preparation steps of Internationalized String Preparation algorithm specified by RFC 4518. |
| 9 | * |
| 10 | * @see https://tools.ietf.org/html/rfc4518#section-2 |
| 11 | */ |
| 12 | interface PrepareStep |
| 13 | { |
| 14 | /** |
| 15 | * Apply string preparation step. |
| 16 | * |
| 17 | * @param string $string String to prepare |
| 18 | * |
| 19 | * @return string Prepared string |
| 20 | */ |
| 21 | public function apply(string $string): string; |
| 22 | } |