summaryrefslogtreecommitdiffstats
path: root/dependencyinjection
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-08-27 13:27:29 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-08-27 13:27:29 +0200
commitadad6ca280f2284a0ea4a1c41c8adea4ae1b141a (patch)
treef9f6d05832b4b57c6c07837c6e988f71dd04954a /dependencyinjection
parentc88b300bad389fd0ddb888111a8bc56f71782d3c (diff)
clean up app container
Diffstat (limited to 'dependencyinjection')
-rw-r--r--dependencyinjection/ifactory.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/dependencyinjection/ifactory.php b/dependencyinjection/ifactory.php
new file mode 100644
index 000000000..cb0e740d1
--- /dev/null
+++ b/dependencyinjection/ifactory.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Alessandro Cosentino 2012
+ * @copyright Bernhard Posselt 2012, 2014
+ */
+
+namespace OCA\News\DependencyInjection;
+
+interface IFactory {
+
+ /**
+ * Method that constructs the object
+ * @return mixed the constructed object
+ */
+ public function build();
+
+}