src/services/TaxFacade.php
public function driverInstance(string $driver): ?ITaxFacade
    {
        if (($driverClass = $this->getDriver($driver)) !== null) {
            return app($driverClass, [
                'config' => config('taxes.' . $driverClass),
            ]);
        }

        return null;
    }
public function driverInstance(string $driver): ?ITaxFacade
    {
        if (($driverClass = $this->getDriver($driver)) !== null) {
            return app($driverClass, [
                'config' => config('taxes.' . $driverClass),
            ]);
        }

        return null;
    }
public function driverInstance ( string $ driver ) : ? ITaxFacade { if ( ( $ driverClass = $ this -> getDriver ( $ driver ) ) !== null ) { return app ( $ driverClass , [ 'config' => config ( 'taxes.' . $ driverClass ) , ] ) ; } return null ; }
Build driver by name

@param string $driver

@return null|ITaxFacade
Build driver by name