Example #1
0
 /**
  * @param string $url
  *
  * @return string
  */
 private function validateURL($url)
 {
     return OpenGraph::isValidUrl($url, ['text/html', 'application/xhtml+xml']);
 }
Example #2
0
 /**
  * Check if OpenGraph is enabled
  *
  * @return bool
  */
 public function isOpenGraphEnabled()
 {
     return $this->openGraph->isEnabled();
 }