src/Commands/RenameCommand.php
private function renameBinary(string $name): RenameCommand
    {
        $this->task(
            sprintf('Renaming application to "%s"', $name),
            function () use ($name) {
                return File::move($this->app->basePath($this->getCurrentBinaryName()), $this->app->basePath($name));
            }
        );

        return $this;
    }
private function renameBinary(string $name): RenameCommand
    {
        $this->task(
            sprintf('Renaming application to "%s"', $name),
            function () use ($name) {
                return File::move($this->app->basePath($this->getCurrentBinaryName()), $this->app->basePath($name));
            }
        );

        return $this;
    }
private function renameBinary ( string $ name ) : RenameCommand { $ this -> task ( sprintf ( 'Renaming application to "%s"' , $ name ) , function ( ) use ( $ name ) { return File :: move ( $ this -> app -> basePath ( $ this -> getCurrentBinaryName ( ) ) , $ this -> app -> basePath ( $ name ) ) ; } ) ; return $ this ; }
Renames the application binary.
Renames the application binary .