From 52b077a48c743ba4d08ac00520a0bf1ef6deef5f Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 24 Feb 2017 21:27:59 +0100 Subject: Initial commit. --- core/namespace/ItemFactory.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 core/namespace/ItemFactory.php (limited to 'core/namespace/ItemFactory.php') diff --git a/core/namespace/ItemFactory.php b/core/namespace/ItemFactory.php new file mode 100644 index 0000000..e5793d4 --- /dev/null +++ b/core/namespace/ItemFactory.php @@ -0,0 +1,12 @@ +getNamespaceName().'\\Item'; + $Instance = parent::storeInstance($itemID, new $Item($itemID, \Application::getDatabase())); + } + + return $Instance; + } +} +?> \ No newline at end of file -- cgit v1.2.3