Pop\Font\AbstractFont::__construct PHP Метод

__construct() публичный Метод

Instantiate a font file object based on a pre-existing font file on disk.
public __construct ( string $font ) : AbstractFont
$font string
Результат AbstractFont
    public function __construct($font)
    {
        if (!file_exists($font)) {
            throw new Exception('The font file does not exist.');
        }
        $this->flags = new \ArrayObject(array('isFixedPitch' => false, 'isSerif' => false, 'isSymbolic' => false, 'isScript' => false, 'isNonSymbolic' => false, 'isItalic' => false, 'isAllCap' => false, 'isSmallCap' => false, 'isForceBold' => false), \ArrayObject::ARRAY_AS_PROPS);
        parent::__construct($font);
    }