浏览代码

fixed interface implementation

youbs 13 年之前
父节点
当前提交
cdb2953572
共有 1 个文件被更改,包括 27 次插入1 次删除
  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)
     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;
         return $label;
     }
     }
-}
+}