ScriptHandler
class ScriptHandler
A manager for composer events
Methods
Shows what changed since the last update
Clears the Symfony cache.
Clear the cache for all environments
Initialize the last update file so that when the user updates and asks for the changelog, the entries added before the installation are not shown
Migrate the config.yml file
No description
Shows an installation success message
Get the database's configuration
Details
at line line 34
static
showChangelog(Event $event)
Shows what changed since the last update
at line line 51
static
clearCache(Event $event, $env = null)
Clears the Symfony cache.
This command won't fail if the current cache prevents the kernel from booting
at line line 106
static
clearAllCaches(Event $event)
Clear the cache for all environments
at line line 117
static
initializeChangelog(Event $event)
Initialize the last update file so that when the user updates and asks for the changelog, the entries added before the installation are not shown
at line line 127
static
buildConfig(Event $event)
Migrate the config.yml file
at line line 139
static
migrateDatabase(Event $event = null, $testing = false)
at line line 183
static
showSuccessMessage(Event $event)
Shows an installation success message
at line line 275
static array|null
getDatabaseConfig(bool $testing = false)
Get the database's configuration