From b858f9f304eb59304e64d328f6d15bf4f41cb298 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Mon, 1 Jun 2015 12:02:37 +0200 Subject: Change `interprete` method name to `interpret`. --- Praspel.php | 6 +++--- Preambler/EncapsulationShunter.php | 4 ++-- 2 files changed, 5 insertions(+), 5 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); } } diff --git a/Preambler/EncapsulationShunter.php b/Preambler/EncapsulationShunter.php index b3ebe16..815011e 100644 --- a/Preambler/EncapsulationShunter.php +++ b/Preambler/EncapsulationShunter.php @@ -116,7 +116,7 @@ class EncapsulationShunter $id = $className . '::__construct'; if (!isset($registry[$id])) { - $registry[$id] = Praspel::interprete( + $registry[$id] = Praspel::interpret( Praspel::extractFromComment( $constructor->getDocComment() ), @@ -147,7 +147,7 @@ class EncapsulationShunter $id = $className . '::$' . $propertyName; if (false === isset($registry[$id])) { - $registry[$id] = Praspel::interprete( + $registry[$id] = Praspel::interpret( Praspel::extractFromComment( $property->getDocComment() ), -- cgit v1.1