Quittio 0.3 API

GermanyServiceProvider extends ServiceProvider
in package

FinalYes

Laravel integration of the German country pack (discovered automatically): the base rates of quittio-de.base_rates and of the file written by quittio:base-rate:update are registered with BaseRates, so that DefaultInterest uses them.

Table of Contents

Methods

boot()  : void
Registers the configured and the updated base rates, the command and the publishable configuration.
readFile()  : array<string|int, mixed>
register()  : void
Merges the configuration quittio-de.
registerBaseRates()  : void
Registers the rates of the file and then those of the configuration (which win).

Methods

boot()

Registers the configured and the updated base rates, the command and the publishable configuration.

public boot() : void

readFile()

public static readFile(string $file) : array<string|int, mixed>
Parameters
$file : string
Return values
array<string|int, mixed>

registerBaseRates()

Registers the rates of the file and then those of the configuration (which win).

public static registerBaseRates(Repository $config) : void
Parameters
$config : Repository
On this page

Search results