spout/src/Spout/Common/Helper/Escaper/EscaperInterface.php
2017-09-06 00:33:43 +02:00

26 lines
557 B
PHP

<?php
namespace Box\Spout\Common\Helper\Escaper;
/**
* Interface EscaperInterface
*/
interface EscaperInterface
{
/**
* Escapes the given string to make it compatible with PHP
*
* @param string $string The string to escape
* @return string The escaped string
*/
public function escape($string);
/**
* Unescapes the given string to make it compatible with PHP
*
* @param string $string The string to unescape
* @return string The unescaped string
*/
public function unescape($string);
}