Esempio n. 1
0
 /**
  * @param ShowBuilderInterface       $showBuilder
  * @param FieldDescriptionCollection $list
  * @param AdminInterface             $admin
  */
 public function __construct(ShowBuilderInterface $showBuilder, FieldDescriptionCollection $list, AdminInterface $admin)
 {
     parent::__construct($showBuilder, $admin);
     $this->list = $list;
 }
 /**
  * @param \Sonata\AdminBundle\Builder\FormContractorInterface $formContractor
  * @param \Symfony\Component\Form\FormBuilder                 $formBuilder
  * @param \Sonata\AdminBundle\Admin\AdminInterface            $admin
  */
 public function __construct(FormContractorInterface $formContractor, FormBuilder $formBuilder, AdminInterface $admin)
 {
     parent::__construct($formContractor, $admin);
     $this->formBuilder = $formBuilder;
 }