The resolve function resolves a given class or interface name to an instance using the service container:
<?php $api = resolve('HelpSpot\API');
<?php             return 1;

        }



        $generator = resolve(FactoryGenerator::class, ['nullables' => $this->option('include-nullable'), 'overwrite' => $this->option('force')]);



        $this->loadModels($directory, $models)

            ->filter(function ($model) {
<?php     {

        parent::setUp();



        $this->typeGuesser = resolve(TypeGuesser::class);

    }