TwistPHP Documentation

legacyConstruct

File path: dist/twist/Core/Models/String/Html2Text.model.php
Namespace: Twist\Core\Models\String
Extends:

legacyConstructVarious configuration options (able to be set in the constructor)

Parameters

Name Type Description
[$html = '']n/a
[$fromFile = false]n/a
[$options = array()]n/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$html '';
$fromFile false;
$options = array();

//Call the function legacyConstruct with the example vars
$resHtml2Text = new \Twist\Core\Models\String\Html2Text();
$resHtml2Text -> legacyConstruct($html$fromFile$options);