예제 #1
0
 public function __construct(FormInterface &$form, LayoutParser $parser = NULL)
 {
     $this->setForm($form);
     if ($format !== NULL) {
         parent::setFormat($format);
     }
 }
예제 #2
0
 public function __construct(ElementInterface &$element, $format = NULL)
 {
     $this->setElement($element);
     if ($format !== NULL) {
         parent::setFormat($format);
     }
 }