From 3eaf909b1fa8b07c6d8b23aa2c2ed3ec4e1932b7 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 21 Jun 2021 19:18:35 +0200 Subject: Rename "attr" method of Item class to "get" --- core/namespace/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/namespace/Item.php') diff --git a/core/namespace/Item.php b/core/namespace/Item.php index 74b5688..453a3e6 100644 --- a/core/namespace/Item.php +++ b/core/namespace/Item.php @@ -32,7 +32,7 @@ abstract class Item implements ItemInterface { #=============================================================================== # Return attribute by name (short hand wrapper) #=============================================================================== - public function attr($attribute) { + public function get($attribute) { return $this->Attribute->get($attribute); } -- cgit v1.2.3