mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
move deprecated methods to the bottom of the class
This commit is contained in:
parent
c10bde0174
commit
159c3cede6
@ -38,16 +38,6 @@ class Parsedown
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* For backwards compatibility before PSR-2 naming.
|
||||
*
|
||||
* @deprecated Use setBreaksEnabled instead.
|
||||
*/
|
||||
function set_breaks_enabled($breaks_enabled)
|
||||
{
|
||||
return $this->setBreaksEnabled($breaks_enabled);
|
||||
}
|
||||
|
||||
private $breaksEnabled = false;
|
||||
|
||||
#
|
||||
@ -1303,6 +1293,18 @@ class Parsedown
|
||||
|
||||
private static $instances = array();
|
||||
|
||||
#
|
||||
# Deprecated Methods
|
||||
#
|
||||
|
||||
/**
|
||||
* @deprecated in favor of "setBreaksEnabled"
|
||||
*/
|
||||
function set_breaks_enabled($breaks_enabled)
|
||||
{
|
||||
return $this->setBreaksEnabled($breaks_enabled);
|
||||
}
|
||||
|
||||
#
|
||||
# Fields
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user