1 <?php 2 3 declare(strict_types=1); 4 5 namespace OpenSpout\Common\Helper\Escaper; 6 7 /** 8 * @internal 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 * 17 * @return string The escaped string 18 */ 19 public function escape(string $string): string; 20 21 /** 22 * Unescapes the given string to make it compatible with PHP. 23 * 24 * @param string $string The string to unescape 25 * 26 * @return string The unescaped string 27 */ 28 public function unescape(string $string): string; 29 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body