RoboFile.php
function clean(): Result {
    return $this->collectionBuilder()
      ->addTask($this->taskCleanDir('var'))
      ->addTask($this->taskDeleteDir(['build', 'doc/api', 'web']))
      ->run();
  }
function clean(): Result {
    return $this->collectionBuilder()
      ->addTask($this->taskCleanDir('var'))
      ->addTask($this->taskDeleteDir(['build', 'doc/api', 'web']))
      ->run();
  }
function clean ( ) : Result { return $ this -> collectionBuilder ( ) -> addTask ( $ this -> taskCleanDir ( 'var' ) ) -> addTask ( $ this -> taskDeleteDir ( [ 'build' , 'doc/api' , 'web' ] ) ) -> run ( ) ; }
Deletes all generated files and reset any saved state.
@return Result The task result.
Deletes all generated files and reset any saved state .