From bcf23c3ab443567991d602f6d06d87051aa3468b Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 21 Oct 2017 23:54:41 +0200 Subject: Code optimization: The method "getStructure" has been added to the abstract Item class. --- include/classes/BigPipe/Item.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/classes/BigPipe/Item.php') diff --git a/include/classes/BigPipe/Item.php b/include/classes/BigPipe/Item.php index 5edf9c8..9c66eb9 100644 --- a/include/classes/BigPipe/Item.php +++ b/include/classes/BigPipe/Item.php @@ -14,6 +14,11 @@ abstract class Item { protected $ID = ''; protected $phaseDoneJS = []; + #=============================================================================== + # Required methods in child classes + #=============================================================================== + abstract public function getStructure(): array; + #=============================================================================== # Return the unique ID #=============================================================================== -- cgit v1.2.3