From 20d854e11f5e03ea43e951329f107c4219a0ced5 Mon Sep 17 00:00:00 2001
From: Mantas Marcinkevicius <m@243.k4.nfq.lt>
Date: Tue, 19 Jul 2016 13:42:34 +0300
Subject: [PATCH] added an empty abstract inner hit

---
 src/InnerHit/AbstractInnerHit.php | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 src/InnerHit/AbstractInnerHit.php

diff --git a/src/InnerHit/AbstractInnerHit.php b/src/InnerHit/AbstractInnerHit.php
new file mode 100644
index 0000000..f2d92f9
--- /dev/null
+++ b/src/InnerHit/AbstractInnerHit.php
@@ -0,0 +1,30 @@
+<?php
+
+/*
+ * This file is part of the ONGR package.
+ *
+ * (c) NFQ Technologies UAB <info@nfq.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace ONGR\ElasticsearchDSL\InnerHit;
+
+use ONGR\ElasticsearchDSL\BuilderInterface;
+
+/**
+ * AbstractAggregation class.
+ */
+abstract class AbstractInnerHit implements BuilderInterface
+{
+    /**
+     * {@inheritdoc}
+     */
+    abstract public function toArray();
+
+    /**
+     * {@inheritdoc}
+     */
+    abstract public function getType();
+}
-- 
GitLab