public function printTags($customView = '', $ulClass ="")
    {
        if($this->hasTags()) {
            $tags = "tags";
            return new HtmlString(
                view()->make(
                    ($customView ? $customView : "vendor.tags.default"), [
                    'tagsList' => $this->$tags,
                    'ulClass' => $ulClass,
                    'postTypeSlug' => $this->getTable()

                    ]
                )->render()
            );
        }
    }
public function printTags($customView = '', $ulClass ="")
    {
        if($this->hasTags()) {
            $tags = "tags";
            return new HtmlString(
                view()->make(
                    ($customView ? $customView : "vendor.tags.default"), [
                    'tagsList' => $this->$tags,
                    'ulClass' => $ulClass,
                    'postTypeSlug' => $this->getTable()

                    ]
                )->render()
            );
        }
    }
public function printTags ( $ customView = '' , $ ulClass = "" ) { if ( $ this -> hasTags ( ) ) { $ tags = "tags" ; return new HtmlString ( view ( ) -> make ( ( $ customView ? $ customView : "vendor.tags.default" ) , [ 'tagsList' => $ this -> $ tags , 'ulClass' => $ ulClass , 'postTypeSlug' => $ this -> getTable ( ) ] ) -> render ( ) ) ; } }
Render Tags of a post.

@param string $customView Name of a custom blade.php file to render the template
@param string $ulClass

@return HtmlString
Render Tags of a post .