/** * @param array|null $parameters */ public function __construct(array $parameters = null) { parent::__construct($parameters); if (!$this->hasRootPath()) { $this->setRootPath('.'); } }
/** * @param array|null $parameters */ public function __construct(array $parameters = null) { parent::__construct($parameters); if (!$this->hasFieldName()) { $this->setFieldName('fileName'); } if (!$this->hasRequestMethod()) { $this->setRequestMethod(static::METHOD_GET); } }