src/WebLibraryManager.php
public function toHtml()
    {
        /*if ($this->rendered) {
            throw new WebLibraryException("The library has already been rendered.");
        }*/
        
        echo $this->getCssHtml();
        echo $this->getJsHtml();
        echo $this->getAdditionalHtml();

        $this->rendered = true;
    }
public function toHtml()
    {
        /*if ($this->rendered) {
            throw new WebLibraryException("The library has already been rendered.");
        }*/
        
        echo $this->getCssHtml();
        echo $this->getJsHtml();
        echo $this->getAdditionalHtml();

        $this->rendered = true;
    }
public function toHtml ( ) { /*if ($this->rendered) {
            throw new WebLibraryException("The library has already been rendered.");
        }*/ echo $ this -> getCssHtml ( ) ; echo $ this -> getJsHtml ( ) ; echo $ this -> getAdditionalHtml ( ) ; $ this -> rendered = true ; }
Renders the HTML in charge of loading CSS and JS files.
The Html is echoed directly into the output.
This function should be called within the head tag.
Renders the HTML in charge of loading CSS and JS files . The Html is echoed directly into the output . This function should be called within the head tag .