*
* @since 4.0.0
*/
public function __construct(?EvolvableLinkProviderInterface $linkProvider = null)
{
$this->linkProvider = $linkProvider ?: new GenericLinkProvider();
}
/**
* Get the link provider
*
}
if (\array_key_exists('preloadManager', $options)) {
$this->setPreloadManager($options['preloadManager']);
} else {
$this->setPreloadManager(new PreloadManager());
}
if (\array_key_exists('webAssetManager', $options)) {
$this->setWebAssetManager($options['webAssetManager']);
} else {
*
* @since 1.7.0
*/
public function __construct($options = [])
{
parent::__construct($options);
// Set document type
$this->_type = 'html';
// Set default mime type and document metadata (metadata syncs with mime type by default)
*
* @since 1.7.0
*/
public function __construct($options = [])
{
parent::__construct($options);
// Set document type
$this->_type = 'error';
}
if (!isset($attributes['factory'])) {
$attributes['factory'] = $this;
}
/** @var Document $instance */
$instance = new $class($attributes);
if (!\is_null($ntype)) {
// Set the type to the Document type originally requested
$instance->setType($ntype);
}
if (Factory::$language) {
$attributes['language'] = Factory::getLanguage()->getTag();
$attributes['direction'] = Factory::getLanguage()->isRtl() ? 'rtl' : 'ltr';
}
return Factory::getContainer()->get(FactoryInterface::class)->createDocument($this->type, $attributes);
}
}
*/
public function getDocument(): Document
{
// Load the document if not already
if (!$this->document) {
$this->document = $this->loadDocument();
}
return $this->document;
}
// Default to the HTML renderer
$renderer = AbstractRenderer::getRenderer('html');
}
// Reset the document object in the factory, this gives us a clean slate and lets everything render properly
Factory::$document = $renderer->getDocument();
Factory::getApplication()->loadDocument(Factory::$document);
// Trigger the onAfterInitialiseDocument event.
$app->getDispatcher()->dispatch(
'onAfterInitialiseDocument',
Warning: include(views/trace.html.php): Failed to open stream: No such file or directory in /home/samdyer/public_html/libraries/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 343
Warning: include(): Failed opening 'views/trace.html.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/samdyer/public_html/libraries/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 343
Warning: include(views/trace.html.php): Failed to open stream: No such file or directory in /home/samdyer/public_html/libraries/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 343
Warning: include(): Failed opening 'views/trace.html.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/samdyer/public_html/libraries/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 343
Warning: include(views/trace.html.php): Failed to open stream: No such file or directory in /home/samdyer/public_html/libraries/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 343
Warning: include(): Failed opening 'views/trace.html.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/samdyer/public_html/libraries/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 343
Warning: include(views/trace.html.php): Failed to open stream: No such file or directory in /home/samdyer/public_html/libraries/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 343
Warning: include(): Failed opening 'views/trace.html.php' for inclusion (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear') in /home/samdyer/public_html/libraries/vendor/symfony/error-handler/ErrorRenderer/HtmlErrorRenderer.php on line 343