/** * Render meta tag * * @param string $name * @param string $content * @param array $attributes * * @return string */ protected function renderMetaTag($name, $content, array $attributes = []) { if ($this->isEmpty()) { return ''; } return Markup::meta('name', $name, $content, $attributes)->render(); }
/** * @return string */ public function render() { if ($this->isEmpty()) { return ''; } return Markup::meta('name', $this->name, $this->content)->render(); }