Example #1
0
 /**
  * @param string $input
  * @param array  $needsParsing
  * @param array  $needsClosing
  * @param array  $closingChars
  *
  * @return \stdClass
  */
 public static function parseSearchString($input, array $needsParsing = null, array $needsClosing = null, array $closingChars = null)
 {
     $input = trim(strip_tags($input));
     $self = new self($needsParsing, $needsClosing, $closingChars);
     return $self->parseString($input);
 }