WinterVersion
Detects the version of Winter CMS installed.
class System\Console\WinterVersion
extends Illuminate\Console\Command
This checks against a central manifest on Winter CMS's GitHub account to determine the version. If any files have been modified, this will be indicated when detecting the version.
To get a list of modified files, simply add the "--changes" parameter.
Properties
protected
$description
:
string
= "Detects the build number (version) of this Winter CMS instance."
The console command description.
protected
$signature
:
string
= "winter:version\n {--changes : Include the list of changes between this install and the expected files for the detected build.}"
The name and signature of the console command.
Methods
public __construct ()
Create a new command instance.
Returns
mixed
public handle () : void
Execute the console command.
Returns
void
Copyright © 2023 Winter CMS