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