Exemple #1
0
 /**
  * @return Query
  */
 protected function getFindQuery()
 {
     if ($this->query !== null) {
         return $this->query;
     }
     $this->query = new Query();
     $this->query->custom(function (Token $token) {
         return (bool) preg_match(LineEndingAbstract::REGEX, $token->getValue());
     });
     return $this->query;
 }