Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 public function render($mode = FilesInterface::READONLY, $ensureDirectory = true)
 {
     $this->renderDependencies();
     return parent::render($mode, $ensureDirectory);
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public function render($mode = FilesInterface::READONLY, $ensureDirectory = true)
 {
     if (!$this->showFillable) {
         $this->class->removeProperty('fillable');
     }
     if (!$this->showHidden) {
         $this->class->removeProperty('hidden');
     }
     if (!$this->showDefaults) {
         $this->class->removeProperty('defaults');
     }
     if (!$this->showIndexes) {
         $this->class->removeProperty('indexes');
     }
     return parent::render($mode, $ensureDirectory);
 }