Explorar o código

RESTController generico andando

gabriel %!s(int64=7) %!d(string=hai) anos
pai
achega
2b48995c20
Modificáronse 1 ficheiros con 1 adicións e 8 borrados
  1. 1 8
      Controller/RESTController.php

+ 1 - 8
Controller/RESTController.php

@@ -28,14 +28,7 @@ abstract class RESTController extends VoryxController
     /**
      * @return string Retorna el tipo de la clase.
      */
-//    abstract public function getFormEntityType();
-    /**
-     * @return string Retorna el tipo de la clase.
-     */
-    public function getFormEntityType()
-    {
-        return get_class(new ClientType());
-    }
+    abstract public function getFormEntityType();
 
     /**
      * Get all entities.