You are here

public function UploaderServlet::init in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

File

vendor/edsdk/file-uploader-server-php/src/servlet/UploaderServlet.php, line 28

Class

UploaderServlet

Namespace

EdSDK\FileUploaderServer\servlet

Code

public function init($config) {
  $this->m_actions = new Actions();
  $this->m_json = new JsonCodec($this->m_actions);
  $this->m_config = new ServletConfig($config);
  $this->m_uploader = new Uploader($this->m_config, $this->m_actions);
}