The app function returns the service container instancel code example Example: The app function returns the service container instancel $api = app('HelpSpot\API');