/**
  * @param DocumentInterface $document
  * @param mixed             $value
  *
  * @return mixed
  */
 public function onGetHeadlineValue(DocumentInterface $document, $value)
 {
     return empty($value) ? null : HtmlFacade::mailto($value);
 }
Example #2
-1
 public function show()
 {
     $posts = $this->getAllBlogs();
     $email = HtmlFacade::mailto('*****@*****.**', 'here');
     return View::make('home', compact('posts', 'email'));
 }