public function copyEventsAndNotifications()
    {
        // copy EVENTS
        $this->copyFilesFromSource($this->appPath . 'Events', app_path('Events'));

        // copy LISTENERS
        $this->copyFilesFromSource($this->appPath . 'Listeners', app_path('Listeners'));

        // copy Mail
        $this->copyFilesFromSource($this->appPath . 'Mail', app_path('Mail'));

        // copy Notifications
        $this->copyFilesFromSource($this->appPath . 'Events', app_path('Notifications'));

        // copy EventServiceProvider
        $source = $this->appPath . "Providers{$this->ds}EventServiceProvider.php";
        $this->copyFilesFromSource($source, app_path('Providers'));
    }
public function copyEventsAndNotifications()
    {
        // copy EVENTS
        $this->copyFilesFromSource($this->appPath . 'Events', app_path('Events'));

        // copy LISTENERS
        $this->copyFilesFromSource($this->appPath . 'Listeners', app_path('Listeners'));

        // copy Mail
        $this->copyFilesFromSource($this->appPath . 'Mail', app_path('Mail'));

        // copy Notifications
        $this->copyFilesFromSource($this->appPath . 'Events', app_path('Notifications'));

        // copy EventServiceProvider
        $source = $this->appPath . "Providers{$this->ds}EventServiceProvider.php";
        $this->copyFilesFromSource($source, app_path('Providers'));
    }
public function copyEventsAndNotifications ( ) { // copy EVENTS $ this -> copyFilesFromSource ( $ this -> appPath . 'Events' , app_path ( 'Events' ) ) ; // copy LISTENERS $ this -> copyFilesFromSource ( $ this -> appPath . 'Listeners' , app_path ( 'Listeners' ) ) ; // copy Mail $ this -> copyFilesFromSource ( $ this -> appPath . 'Mail' , app_path ( 'Mail' ) ) ; // copy Notifications $ this -> copyFilesFromSource ( $ this -> appPath . 'Events' , app_path ( 'Notifications' ) ) ; // copy EventServiceProvider $ source = $ this -> appPath . "Providers{$this->ds}EventServiceProvider.php" ; $ this -> copyFilesFromSource ( $ source , app_path ( 'Providers' ) ) ; }
Copy the events files
Copy all events, listeners and notifications
Copy the events files Copy all events listeners and notifications