Version 1
[yaffs-website] / vendor / symfony-cmf / routing / Tests / Enhancer / RouteObject.php
diff --git a/vendor/symfony-cmf/routing/Tests/Enhancer/RouteObject.php b/vendor/symfony-cmf/routing/Tests/Enhancer/RouteObject.php
new file mode 100644 (file)
index 0000000..c75ac6a
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+/*
+ * This file is part of the Symfony CMF package.
+ *
+ * (c) 2011-2015 Symfony CMF
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Symfony\Cmf\Component\Routing\Tests\Enhancer;
+
+use Symfony\Component\Routing\Route;
+use Symfony\Cmf\Component\Routing\RouteObjectInterface;
+
+/**
+ * Empty abstract class to be able to mock an object that both extends Route
+ * and implements RouteObjectInterface.
+ */
+abstract class RouteObject extends Route implements RouteObjectInterface
+{
+    public function getRouteKey()
+    {
+        return;
+    }
+}