private function getBasePath(Event $event)
    {
        $config = $event->getComposer()->getConfig();
        return realpath($config->get("vendor-dir") . "/../");
    }
private function getBasePath(Event $event)
    {
        $config = $event->getComposer()->getConfig();
        return realpath($config->get("vendor-dir") . "/../");
    }
private function getBasePath ( Event $ event ) { $ config = $ event -> getComposer ( ) -> getConfig ( ) ; return realpath ( $ config -> get ( "vendor-dir" ) . "/../" ) ; }
Finds the base application path.

@param Event $event

@return string
Finds the base application path .