diff options
-rw-r--r-- | Praspel.php | 6 | ||||
-rw-r--r-- | 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() ), |