summaryrefslogtreecommitdiffstats
path: root/library/Director/Objects/InstantiatedViaHook.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Director/Objects/InstantiatedViaHook.php')
-rw-r--r--library/Director/Objects/InstantiatedViaHook.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/library/Director/Objects/InstantiatedViaHook.php b/library/Director/Objects/InstantiatedViaHook.php
new file mode 100644
index 0000000..79f3442
--- /dev/null
+++ b/library/Director/Objects/InstantiatedViaHook.php
@@ -0,0 +1,14 @@
+<?php
+
+namespace Icinga\Module\Director\Objects;
+
+use Icinga\Module\Director\Hook\JobHook;
+use Icinga\Module\Director\Hook\PropertyModifierHook;
+
+interface InstantiatedViaHook
+{
+ /**
+ * @return mixed|PropertyModifierHook|JobHook
+ */
+ public function getInstance();
+}