Skip to content

DefaultProviders

  • Full name: \Codefy\Framework\Support\DefaultProviders

Methods

__construct

public __construct(array $collection = []): mixed

Parameters:

Parameter Type Description
$collection array

Inherited methods

merge

Merge the given collection into another collection.

public merge(array $collection): static

Parameters:

Parameter Type Description
$collection array

replace

Replace the given collection with other collections.

public replace(array $replacements): static

Parameters:

Parameter Type Description
$replacements array

except

Disable the given collection.

public except(array $collection): static

Parameters:

Parameter Type Description
$collection array

toArray

Convert the collection to an array.

public toArray(): array


Automatically generated on 2025-10-13