public static function fromEvent(Event $event)
    {
        $io = NutStyle::fromComposer($event->getIO());
        $options = Options::fromEvent($event);

        return new static($io, $options);
    }
public static function fromEvent(Event $event)
    {
        $io = NutStyle::fromComposer($event->getIO());
        $options = Options::fromEvent($event);

        return new static($io, $options);
    }
public static function fromEvent ( Event $ event ) { $ io = NutStyle :: fromComposer ( $ event -> getIO ( ) ) ; $ options = Options :: fromEvent ( $ event ) ; return new static ( $ io , $ options ) ; }
Create from a Composer event object.

@param Event $event

@return DirectoryConfigurator
Create from a Composer event object .