From d9b8f888692f5cc2e727e41009a86f5aaf6f0e53 Mon Sep 17 00:00:00 2001 From: Mathieu Ducharme Date: Mon, 20 Nov 2017 12:46:12 -0500 Subject: [PATCH] getter() -> camelize() --- src/Charcoal/Model/AbstractModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Charcoal/Model/AbstractModel.php b/src/Charcoal/Model/AbstractModel.php index 5f455dcd..a272466a 100644 --- a/src/Charcoal/Model/AbstractModel.php +++ b/src/Charcoal/Model/AbstractModel.php @@ -307,7 +307,7 @@ public function flatData() */ public function propertyValue($propertyIdent) { - $getter = $this->getter($propertyIdent); + $getter = $this->camelize($propertyIdent); $method = [ $this, $getter ]; if (is_callable($method)) {