You are here

public function FileUploadedQuick::__construct in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2

Creates a File instance.

Overrides AFile::__construct

File

src/Flmngr/FileUploaderServer/lib/file/FileUploadedQuick.php, line 29

Class

FileUploadedQuick

Namespace

Drupal\n1ed\Flmngr\FileUploaderServer\lib\file

Code

public function __construct($config, $dir, $name, $newName, $relativePath) {
  parent::__construct($config, $dir, $name);
  $this->dir = $dir;
  $this->name = $name;
  $this->m_newName = $newName;
  $this->name = $this
    ->checkFileNameExistence();
  $this->relativePath = $relativePath;
}