예제 #1
0
파일: String.php 프로젝트: no92/valide
 public function __construct($token)
 {
     $this->code = $token->content;
     $this->line = $token->line;
     $this->string = trim(substr($this->code, 1, -1));
     $this->string = str_replace("\\n", "\\0A", $this->string);
     $this->id = \Tables::addString($this->string);
 }