In your composer.json you will find the “scripts” section, which should look something like this:
"scripts": {
"post-install-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
],
"post-update-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
]
}
As you can see, all commands are stored in one file, Sensio \ Bundle \ DistributionBundle \ Composer \ ScriptHandler :: clearCache () what you are looking for.
, . .
: . , composer.json. , , . "symfony-web-dir" - , ScriptHandler. CommandEvent, ScriptHandler:: getOptions(). , , , , / "extra", script, . , , , , , , config , , , .