| 1 |
<?php |
| 2 |
|
| 3 |
namespace Box\Spout\Common\Escaper; |
| 4 |
|
| 5 |
/** |
| 6 |
* Interface EscaperInterface |
| 7 |
* |
| 8 |
* @package Box\Spout\Common\Escaper |
| 9 |
*/ |
| 10 |
interface EscaperInterface |
| 11 |
{ |
| 12 |
/** |
| 13 |
* Escapes the given string to make it compatible with PHP |
| 14 |
* |
| 15 |
* @param string $string The string to escape |
| 16 |
* @return string The escaped string |
| 17 |
*/ |
| 18 |
public function escape($string); |
| 19 |
|
| 20 |
/** |
| 21 |
* Unescapes the given string to make it compatible with PHP |
| 22 |
* |
| 23 |
* @param string $string The string to unescape |
| 24 |
* @return string The unescaped string |
| 25 |
*/ |
| 26 |
public function unescape($string); |
| 27 |
} |
| 28 |
|