aboutsummaryrefslogtreecommitdiffstats
path: root/Praspel.php
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-06-01 12:02:37 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-06-01 12:08:27 +0200
commitb858f9f304eb59304e64d328f6d15bf4f41cb298 (patch)
tree79e86d68cb35d2185c2fef1c4573353836ba588f /Praspel.php
parent8dea9e4e8f3dd6fc9fc10ad464d48c3973dedf50 (diff)
downloadPraspel-b858f9f304eb59304e64d328f6d15bf4f41cb298.zip
Praspel-b858f9f304eb59304e64d328f6d15bf4f41cb298.tar.gz
Praspel-b858f9f304eb59304e64d328f6d15bf4f41cb298.tar.bz2
Change `interprete` method name to `interpret`.
Diffstat (limited to 'Praspel.php')
-rw-r--r--Praspel.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Praspel.php b/Praspel.php
index bcfd444..01493a2 100644
--- a/Praspel.php
+++ b/Praspel.php
@@ -66,7 +66,7 @@ class Praspel
* @param string $bindToClass Classname to bind.
* @return \Hoa\Praspel\Model\Clause
*/
- public static function interprete($praspel, $bindToClass = null)
+ public static function interpret($praspel, $bindToClass = null)
{
static $_compiler = null;
static $_interpreter = null;
@@ -134,7 +134,7 @@ class Praspel
Core\Consistency::flexEntity('Hoa\Praspel\Praspel');
/**
- * Alias of \Hoa\Praspel::interprete().
+ * Alias of \Hoa\Praspel::interpret().
*
* @param string $praspel Praspel
* @return \Hoa\Praspel\Model\Clause
@@ -142,6 +142,6 @@ Core\Consistency::flexEntity('Hoa\Praspel\Praspel');
if (!function_exists('praspel')) {
function praspel($praspel)
{
- return Praspel::interprete($praspel);
+ return Praspel::interpret($praspel);
}
}