소스 검색

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)
     {
+    }
+
+    /**
+     * @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;
     }
-}
+}