public function printSearchForm($customView ='', $formClass="")
    {
        return new HtmlString(
            view()->make(
                ($customView ? $customView : "vendor.search.default"), [
                'keyword' => $this->getKeyword(),
                'formClass' => $formClass
                ]
            )->render()
        );
    }
public function printSearchForm($customView ='', $formClass="")
    {
        return new HtmlString(
            view()->make(
                ($customView ? $customView : "vendor.search.default"), [
                'keyword' => $this->getKeyword(),
                'formClass' => $formClass
                ]
            )->render()
        );
    }
public function printSearchForm ( $ customView = '' , $ formClass = "" ) { return new HtmlString ( view ( ) -> make ( ( $ customView ? $ customView : "vendor.search.default" ) , [ 'keyword' => $ this -> getKeyword ( ) , 'formClass' => $ formClass ] ) -> render ( ) ) ; }
Get a search form

@param string $customView Name of a custom blade.php file to render the template
@param string $formClass  Serch form class

@return HtmlString|string
Get a search form