瀏覽代碼

Merge pull request #1861 from dbu/doc-annotations

adding a couple of documentation annotations on the Admin class
Thomas 11 年之前
父節點
當前提交
a4d971f8dd
共有 1 個文件被更改,包括 26 次插入2 次删除
  1. 26 2
      Admin/Admin.php

+ 26 - 2
Admin/Admin.php

@@ -372,10 +372,13 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
      */
     protected $breadcrumbs = array();
 
+    /**
+     * @var SecurityHandlerInterface
+     */
     protected $securityHandler = null;
 
     /**
-     * @var \Symfony\Component\Validator\ValidatorInterface $validator
+     * @var ValidatorInterface $validator
      */
     protected $validator = null;
 
@@ -386,13 +389,19 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
      */
     protected $configurationPool;
 
+    /**
+     * @var MenuItemInterface
+     */
     protected $menu;
 
     /**
-     * @var \Knp\Menu\FactoryInterface
+     * @var MenuFactoryInterface
      */
     protected $menuFactory;
 
+    /**
+     * @var array
+     */
     protected $loaded = array(
         'view_fields'   => false,
         'view_groups'   => false,
@@ -400,14 +409,29 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
         'side_menu'     => false,
     );
 
+    /**
+     * @var array
+     */
     protected $formTheme = array();
 
+    /**
+     * @var array
+     */
     protected $filterTheme = array();
 
+    /**
+     * @var array
+     */
     protected $templates  = array();
 
+    /**
+     * @var AdminExtensionInterface[]
+     */
     protected $extensions = array();
 
+    /**
+     * @var LabelTranslatorStrategyInterface
+     */
     protected $labelTranslatorStrategy;
 
     /**