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
Potsky
LaravelLocalizationHelpers
Factory
MessageBag
cleanMessage
Potsky\LaravelLocalizationHelpers\Factory\MessageBag::cleanMessage PHP Method
MessageBag Class Documentation
Show file
Open project: potsky/laravel-localization-helpers
cleanMessage()
protected
method
Trim and remove all XML tags
protected
cleanMessage
(
string
$m
) :
string
$m
string
the message to clean
return
string
protected function cleanMessage($m) { return preg_replace('@<[A-Za-z0-9/]*>@', '', trim($m)); }
MessageBag
cleanMessage
deleteMessages
getMessage
getMessageType
getMessages
hasMessages
writeComment
writeError
writeInfo
writeLine
writeQuestion