protected static function getProjectDir(Event $event): string
    {
        return $event->getComposer()->getConfig()->get('vendor-dir')
            . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR;
    }
protected static function getProjectDir(Event $event): string
    {
        return $event->getComposer()->getConfig()->get('vendor-dir')
            . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR;
    }
protected static function getProjectDir ( Event $ event ) : string { return $ event -> getComposer ( ) -> getConfig ( ) -> get ( 'vendor-dir' ) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR ; }
Get current directory.

@param Event $event Composer event.

@return string
Get current directory .