public function tweakApplication(Closure $closure): void
    {
        $closure($this->app);

        static::$server->stash([
            'class' => static::class,
            'tweakApplication' => serialize(SerializableClosure::from($closure)),
        ]);
    }
public function tweakApplication(Closure $closure): void
    {
        $closure($this->app);

        static::$server->stash([
            'class' => static::class,
            'tweakApplication' => serialize(SerializableClosure::from($closure)),
        ]);
    }
public function tweakApplication ( Closure $ closure ) : void { $ closure ( $ this -> app ) ; static :: $ server -> stash ( [ 'class' => static :: class , 'tweakApplication' => serialize ( SerializableClosure :: from ( $ closure ) ) , ] ) ; }
Make tweaks to the application, both inside the test and on the test server.

@param \Closure $closure

@return void
Make tweaks to the application both inside the test and on the test server .