From eab5e24883297a7cce6e2080237f62be388f015d Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 23 Nov 2011 08:23:40 -0600 Subject: [PATCH] Change scope of private inflector methods to protected. --- laravel/inflector.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/laravel/inflector.php b/laravel/inflector.php index 23e30f60..a3573fb7 100644 --- a/laravel/inflector.php +++ b/laravel/inflector.php @@ -7,14 +7,14 @@ class Inflector { * * @var array */ - private static $singular_cache = array(); + protected static $singular_cache = array(); /** * The words that have been converted to plural. * * @var array */ - private static $plural_cache = array(); + protected static $plural_cache = array(); /** * Plural word forms. @@ -171,7 +171,7 @@ class Inflector { * @param array $source * @return string */ - private static function inflect($value, $cache, $irregular, $source) + protected static function inflect($value, $cache, $irregular, $source) { if (array_key_exists($value, $cache)) { @@ -202,4 +202,4 @@ class Inflector { return $value; } -} +} \ No newline at end of file