InstallerScripts
class InstallerScripts (View source)
Class for Composer install scripts
Methods
static void
postUpdateAndInstall(Event $event)
Make sure required paths and files are available outside of Package Run on every Composer install or update - must be configured in root manifest
static void
postPackageUpdateAndInstall(PackageEvent $event)
Calls actions and install scripts provided by installed packages.
static void
copyDistributionFiles(string $installerResourcesDirectory)
Copies any distribution files to their place if needed.
static void
runPackageScripts(string $staticMethodReference)
Calls a static method from it's string representation
Details
static void
postUpdateAndInstall(Event $event)
Make sure required paths and files are available outside of Package Run on every Composer install or update - must be configured in root manifest
static void
postPackageUpdateAndInstall(PackageEvent $event)
Calls actions and install scripts provided by installed packages.
static protected void
copyDistributionFiles(string $installerResourcesDirectory)
Copies any distribution files to their place if needed.
static protected void
runPackageScripts(string $staticMethodReference)
Calls a static method from it's string representation