/**
  * The temporary file path where the file is stored before being moved to
  * right place.
  *
  * @access public
  * @author Jerome Bogaerts <*****@*****.**>
  * @param  string $name The name of the file e.g. tmpImage.tmp
  * @param  int $size The size of the file in bytes
  * @param  string $type The mime-type of the file e.g. text/plain.
  * @param  string $tmpPath
  * @param  string $action
  * @return mixed
  */
 public function __construct($name, $size, $type, $tmpPath, $action = null)
 {
     parent::__construct($name, $size);
     $this->type = $type;
     $this->tmpPath = $tmpPath;
     $this->action = is_null($action) ? self::FORM_ACTION_ADD : $action;
 }
 /**
  * The temporary file path where the file is stored before being moved to
  * right place.
  *
  * @access public
  * @author Jerome Bogaerts <*****@*****.**>
  * @param  string name The name of the file e.g. tmpImage.tmp
  * @param  int size The size of the file in bytes
  * @param  string type The mime-type of the file e.g. text/plain.
  * @param  string tmpPath
  * @return mixed
  */
 public function __construct($name, $size, $type, $tmpPath)
 {
     parent::__construct($name, $size);
     $this->type = $type;
     $this->tmpPath = $tmpPath;
 }