PHP code example of zdenekzahor / webfontloader
1. Go to this page and download the library: Download zdenekzahor/webfontloader library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zdenekzahor / webfontloader example snippets
use ZdenekZahor\WebFontLoader\IWebFontLoaderFactory;
use ZdenekZahor\WebFontLoader\WebFontLoader;
/**
* @var IWebFontLoaderFactory
* @inject
*/
public $webFontLoaderFactory;
protected function createComponentWebFontLoader(): WebFontLoader
{
return $this->webFontLoaderFactory->create();
}