parse() 공개 메소드

Parse text.
public parse ( string $text, mixed $context = null ) : string
$text string
$context mixed
리턴 string
예제 #1
0
 /**
  * Parse the content before it is saved to the database.
  *
  * @param string $value
  */
 public function setContentAttribute($value)
 {
     $this->attributes['content'] = $value ? static::$formatter->parse($value, $this) : null;
 }