mirror of
https://github.com/flarum/framework.git
synced 2025-03-12 21:42:39 +08:00
28 lines
457 B
PHP
28 lines
457 B
PHP
![]() |
<?php namespace Flarum\Events;
|
||
|
|
||
|
use s9e\TextFormatter\Parser;
|
||
|
use Flarum\Core\Posts\CommentPost;
|
||
|
|
||
|
class FormatterParser
|
||
|
{
|
||
|
/**
|
||
|
* @var Parser
|
||
|
*/
|
||
|
public $parser;
|
||
|
|
||
|
/**
|
||
|
* @var CommentPost
|
||
|
*/
|
||
|
public $post;
|
||
|
|
||
|
/**
|
||
|
* @param Parser $parser
|
||
|
* @param CommentPost $post
|
||
|
*/
|
||
|
public function __construct(Parser $parser, CommentPost $post)
|
||
|
{
|
||
|
$this->parser = $parser;
|
||
|
$this->post = $post;
|
||
|
}
|
||
|
}
|