Example #1
0
 /**
  * @param $content
  * @return mixed
  */
 protected function extractUrls($content)
 {
     return ParserUtil::extractURLsFromText($content);
 }
 /**
  * Should the content be checked whether it can be executed?
  *
  * @param $content
  * @param \DateTime $startDate
  * @return bool
  */
 public function mustValidate($content, \DateTime $startDate)
 {
     return empty(ParserUtil::extractURLsFromText($content->getMessage()));
 }