1
0
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:
Emanuil Rusev 2014-04-17 01:11:30 +03:00
parent c10bde0174
commit 159c3cede6

View File

@ -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
#