Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Flarum
Core
Post
DiscussionRenamedPost
buildContent
Flarum\Core\Post\DiscussionRenamedPost::buildContent PHP Method
DiscussionRenamedPost Class Documentation
Show file
Open project: flarum/core
buildContent()
protected
static
method
Build the content attribute.
protected
static
buildContent
(
string
$oldTitle
,
string
$newTitle
) :
array
$oldTitle
string
The old title of the discussion.
$newTitle
string
The new title of the discussion.
return
array
protected static function buildContent($oldTitle, $newTitle) { return [$oldTitle, $newTitle]; }
DiscussionRenamedPost
buildContent
reply
saveAfter