mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Add class method visibility to currently implicit methods
This commit is contained in:
parent
1610e4747c
commit
89ac289452
@ -21,7 +21,7 @@ class Parsedown
|
|||||||
|
|
||||||
# ~
|
# ~
|
||||||
|
|
||||||
function text($text)
|
public function text($text)
|
||||||
{
|
{
|
||||||
$Elements = $this->textElements($text);
|
$Elements = $this->textElements($text);
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ class Parsedown
|
|||||||
# Setters
|
# Setters
|
||||||
#
|
#
|
||||||
|
|
||||||
function setBreaksEnabled($breaksEnabled)
|
public function setBreaksEnabled($breaksEnabled)
|
||||||
{
|
{
|
||||||
$this->breaksEnabled = $breaksEnabled;
|
$this->breaksEnabled = $breaksEnabled;
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ class Parsedown
|
|||||||
|
|
||||||
protected $breaksEnabled;
|
protected $breaksEnabled;
|
||||||
|
|
||||||
function setMarkupEscaped($markupEscaped)
|
public function setMarkupEscaped($markupEscaped)
|
||||||
{
|
{
|
||||||
$this->markupEscaped = $markupEscaped;
|
$this->markupEscaped = $markupEscaped;
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ class Parsedown
|
|||||||
|
|
||||||
protected $markupEscaped;
|
protected $markupEscaped;
|
||||||
|
|
||||||
function setUrlsLinked($urlsLinked)
|
public function setUrlsLinked($urlsLinked)
|
||||||
{
|
{
|
||||||
$this->urlsLinked = $urlsLinked;
|
$this->urlsLinked = $urlsLinked;
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ class Parsedown
|
|||||||
|
|
||||||
protected $urlsLinked = true;
|
protected $urlsLinked = true;
|
||||||
|
|
||||||
function setSafeMode($safeMode)
|
public function setSafeMode($safeMode)
|
||||||
{
|
{
|
||||||
$this->safeMode = (bool) $safeMode;
|
$this->safeMode = (bool) $safeMode;
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ class Parsedown
|
|||||||
|
|
||||||
protected $safeMode;
|
protected $safeMode;
|
||||||
|
|
||||||
function setStrictMode($strictMode)
|
public function setStrictMode($strictMode)
|
||||||
{
|
{
|
||||||
$this->strictMode = (bool) $strictMode;
|
$this->strictMode = (bool) $strictMode;
|
||||||
|
|
||||||
@ -1851,7 +1851,7 @@ class Parsedown
|
|||||||
# Deprecated Methods
|
# Deprecated Methods
|
||||||
#
|
#
|
||||||
|
|
||||||
function parse($text)
|
public function parse($text)
|
||||||
{
|
{
|
||||||
$markup = $this->text($text);
|
$markup = $this->text($text);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user