public static function makeResourceRepository(string $repository): Repository
    {
        $api = App::make(ApiClient::class);

        return new $repository($api);
    }
public static function makeResourceRepository(string $repository): Repository
    {
        $api = App::make(ApiClient::class);

        return new $repository($api);
    }
public static function makeResourceRepository ( string $ repository ) : Repository { $ api = App :: make ( ApiClient :: class ) ; return new $ repository ( $ api ) ; }
Make a resource repository instance

@param string $repository
@return Repository
Make a resource repository instance