src/LighthouseServiceProvider.php
protected function loadRoutesFrom($path): void
    {
        if (Str::contains($this->app->version(), 'Lumen')) {
            require realpath($path);

            return;
        }

        parent::loadRoutesFrom($path);
    }
protected function loadRoutesFrom($path): void
    {
        if (Str::contains($this->app->version(), 'Lumen')) {
            require realpath($path);

            return;
        }

        parent::loadRoutesFrom($path);
    }
protected function loadRoutesFrom ( $ path ) : void { if ( Str :: contains ( $ this -> app -> version ( ) , 'Lumen' ) ) { require realpath ( $ path ) ; return ; } parent :: loadRoutesFrom ( $ path ) ; }
Load routes from provided path.

@param  string  $path
@return void
Load routes from provided path .