refactoring string class.

This commit is contained in:
Taylor Otwell
2011-09-28 22:25:54 -05:00
parent 442904b277
commit 3c05f7260c
2 changed files with 55 additions and 29 deletions

View File

@@ -62,4 +62,9 @@ function e($value)
function __($key, $replacements = array(), $language = null)
{
return Lang::line($key, $replacements, $language);
}
function fe($function)
{
return function_exists($function);
}