diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-21 19:18:35 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-21 19:18:35 +0200 |
commit | 3eaf909b1fa8b07c6d8b23aa2c2ed3ec4e1932b7 (patch) | |
tree | 9d3ba9fcb9162963e26edbb7bda0709aaf2c8a41 /core/namespace/Item.php | |
parent | ec424df850d6e5acc85d49ebd67703cf11f5a8d4 (diff) | |
download | blog-3eaf909b1fa8b07c6d8b23aa2c2ed3ec4e1932b7.tar.gz blog-3eaf909b1fa8b07c6d8b23aa2c2ed3ec4e1932b7.tar.xz blog-3eaf909b1fa8b07c6d8b23aa2c2ed3ec4e1932b7.zip |
Rename "attr" method of Item class to "get"
Diffstat (limited to 'core/namespace/Item.php')
-rw-r--r-- | core/namespace/Item.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |