ComposerManifestProposalGenerator

Service for generating composer manifest proposals

Table of Contents

Properties

$emConfUtility  : EmConfUtility
$requestFactory  : RequestFactory

Methods

__construct()  : mixed
getComposerManifestProposal()  : string
Return the generated composer manifest content
getComposerManifestProposalFromTer()  : array<string|int, mixed>
Calls the TER API endpoint by providing the extensions' ext_emconf to receive a composer manifest proposal with resolved dependencies.
isValidExtensionKey()  : bool

Properties

Methods

getComposerManifestProposal()

Return the generated composer manifest content

public getComposerManifestProposal(string $extensionKey) : string
Parameters
$extensionKey : string
Return values
string

getComposerManifestProposalFromTer()

Calls the TER API endpoint by providing the extensions' ext_emconf to receive a composer manifest proposal with resolved dependencies.

protected getComposerManifestProposalFromTer(string $extensionKey) : array<string|int, mixed>
Parameters
$extensionKey : string
Return values
array<string|int, mixed>

isValidExtensionKey()

protected isValidExtensionKey(string $extensionKey) : bool
Parameters
$extensionKey : string
Return values
bool

        
On this page

Search results