コード例 #1
0
ファイル: Message.php プロジェクト: Nycto/Round-Eights
 /**
  * @see \r8\iface\Log\Matcher::matches
  */
 public function matches(\r8\Log\Message $message)
 {
     return $this->validator->isValid($message->getMessage());
 }
コード例 #2
0
ファイル: Validator.php プロジェクト: Nycto/Round-Eights
 /**
  * Returns whether the current element should be included in the iteration
  *
  * @return Boolean
  */
 public function accept()
 {
     return $this->validator->isValid($this->current());
 }