[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/spout/src/Spout/Common/Escaper/ -> CSV.php (source)

   1  <?php
   2  
   3  namespace Box\Spout\Common\Escaper;
   4  
   5  /**
   6   * Class CSV
   7   * Provides functions to escape and unescape data for CSV files
   8   *
   9   * @package Box\Spout\Common\Escaper
  10   */
  11  class CSV implements EscaperInterface
  12  {
  13      /**
  14       * Escapes the given string to make it compatible with CSV
  15       *
  16       * @codeCoverageIgnore
  17       *
  18       * @param string $string The string to escape
  19       * @return string The escaped string
  20       */
  21      public function escape($string)
  22      {
  23          return $string;
  24      }
  25  
  26      /**
  27       * Unescapes the given string to make it compatible with CSV
  28       *
  29       * @codeCoverageIgnore
  30       *
  31       * @param string $string The string to unescape
  32       * @return string The unescaped string
  33       */
  34      public function unescape($string)
  35      {
  36          return $string;
  37      }
  38  }


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1