src/Composer/AbstractScriptEventHandler.php
final public static function handleEvent(Event $event)
    {
        $self = new static();

        $commands = $self->getCommands($event);

        array_walk(
            $commands,
            function (Command $command) use ($self, $event) {
                $self->executeCommand($event, $command);
            }
        );
    }
final public static function handleEvent(Event $event)
    {
        $self = new static();

        $commands = $self->getCommands($event);

        array_walk(
            $commands,
            function (Command $command) use ($self, $event) {
                $self->executeCommand($event, $command);
            }
        );
    }
////////////////////////////// PUBLIC API \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\