private function getProvider()
    {
        $app = $this->app;

        $version = intval($app::VERSION);

        switch ($version) {
            case 4:
              return new ServiceProviderLaravel4($app);

            case 5:
              return new ServiceProviderLaravel5($app);

            default:
              throw new RuntimeException('Your version of Laravel is not supported');
        }
    }
private function getProvider()
    {
        $app = $this->app;

        $version = intval($app::VERSION);

        switch ($version) {
            case 4:
              return new ServiceProviderLaravel4($app);

            case 5:
              return new ServiceProviderLaravel5($app);

            default:
              throw new RuntimeException('Your version of Laravel is not supported');
        }
    }
private function getProvider ( ) { $ app = $ this -> app ; $ version = intval ( $ app :: VERSION ) ; switch ( $ version ) { case 4 : return new ServiceProviderLaravel4 ( $ app ) ; case 5 : return new ServiceProviderLaravel5 ( $ app ) ; default : throw new RuntimeException ( 'Your version of Laravel is not supported' ) ; } }
Return the service provider for the particular Laravel version.

@return mixed
Return the service provider for the particular Laravel version .