public function setName($name = false) {
    if ($name === false || empty($name)) {
      $this->name = \Nuki\Handlers\Core\Assist::randomString();
      return;
    }
    
    $this->name = $name;
  }
public function setName($name = false) {
    if ($name === false || empty($name)) {
      $this->name = \Nuki\Handlers\Core\Assist::randomString();
      return;
    }
    
    $this->name = $name;
  }
public function setName ( $ name = false ) { if ( $ name === false || empty ( $ name ) ) { $ this -> name = \ Nuki \ Handlers \ Core \ Assist :: randomString ( ) ; return ; } $ this -> name = $ name ; }
Set file name
if name not give, it will be generated

@param string|bool $name
@return void
Set file name if name not give it will be generated