public function onPostAutoloadDump(Event
$event) { $this->
writeAccessRestrictionFiles($this->composer->
getConfig()->
get('vendor-dir'
));
} /**
* POST_UPDATE_CMD and POST_INSTALL_CMD event handler.
*
* @param \Composer\Script\Event $event
* The Composer event.
*/
public function onPostCmd(Event
$event) { $this->
cleanAllPackages();
} /**
* PRE_PACKAGE_INSTALL event handler.
*
* @param \Composer\Installer\PackageEvent $event
* The package event.
*/
public function onPrePackageInstall(PackageEvent
$event) { /** @var \Composer\Package\CompletePackage $package */
$package =
$event->
getOperation()->
getPackage();