Jelajahi Sumber

fixed interface implementation

youbs 13 tahun lalu
induk
melakukan
cdb2953572
1 mengubah file dengan 27 tambahan dan 1 penghapusan
  1. 27 1
      Translator/Extractor/JMSTranslatorBundle/AdminExtractor.php

+ 27 - 1
Translator/Extractor/JMSTranslatorBundle/AdminExtractor.php

@@ -177,6 +177,32 @@ class AdminExtractor implements ExtractorInterface, TranslatorInterface, Securit
      */
     public function buildSecurityInformation(AdminInterface $admin)
     {
+    }
+
+    /**
+     * @param \Sonata\AdminBundle\Admin\AdminInterface $admin
+     * @param $object
+     * @return void
+     */
+    public function createObjectSecurity(AdminInterface $admin, $object)
+    {
+    }
+
+    /**
+     * @param \Sonata\AdminBundle\Admin\AdminInterface $admin
+     * @param $object
+     * @return void
+     */
+    public function deleteObjectSecurity(AdminInterface $admin, $object)
+    {
+    }
+
+    /**
+     * @param \Sonata\AdminBundle\Admin\AdminInterface $admin
+     * @return void
+     */
+    public function getBaseRole(AdminInterface $admin)
+    {
 
     }
 
@@ -194,4 +220,4 @@ class AdminExtractor implements ExtractorInterface, TranslatorInterface, Securit
 
         return $label;
     }
-}
+}