1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 15:34:26 +02:00
Files
php-flarum/src/Event/ConfigureFormatterRenderer.php

44 lines
771 B
PHP

<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flarum\Event;
use s9e\TextFormatter\Renderer;
class ConfigureFormatterRenderer
{
/**
* @var Renderer
*/
public $renderer;
/**
* @var mixed
*/
public $context;
/**
* @var string
*/
public $xml;
/**
* @param Renderer $renderer
* @param mixed $context
* @param string $xml
*/
public function __construct(Renderer $renderer, $context, &$xml)
{
$this->renderer = $renderer;
$this->context = $context;
$this->xml = &$xml;
}
}