Przeglądaj źródła

Add missing method in the AdminInterface

Thomas Rabaix 13 lat temu
rodzic
commit
c9bea7cd65
1 zmienionych plików z 8 dodań i 0 usunięć
  1. 8 0
      Admin/AdminInterface.php

+ 8 - 0
Admin/AdminInterface.php

@@ -416,4 +416,12 @@ interface AdminInterface
      * @return void
      * @return void
      */
      */
     function createObjectSecurity($object);
     function createObjectSecurity($object);
+
+    /**
+     * Returns the url defined by the $name
+     *
+     * @param strinf $name
+     * @return Route
+     */
+    function getRoute($name);
 }
 }