InitializeBuilderFromConfig
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- __invoke() : Payload
- buildVersion() : VersionDescriptor
- guardAgainstMultipleSetsOfTheSameType() : void
- Until official support is added for versions, check whether there is 1 and fail when multiple is given.
Properties
$partials read-only
private
Collection
$partials
Methods
__construct()
public
__construct(Collection<string|int, string> $partials) : mixed
Parameters
- $partials : Collection<string|int, string>
__invoke()
public
__invoke(Payload $payload) : Payload
Parameters
- $payload : Payload
Return values
PayloadbuildVersion()
private
buildVersion(VersionSpecification $version) : VersionDescriptor
Parameters
- $version : VersionSpecification
Return values
VersionDescriptorguardAgainstMultipleSetsOfTheSameType()
Until official support is added for versions, check whether there is 1 and fail when multiple is given.
private
guardAgainstMultipleSetsOfTheSameType(VersionSpecification $version) : void
By adding this restriction, it should prevent confusion with users when they were to add multiple in the configuration.
Parameters
- $version : VersionSpecification