ComposerManifestProposalGenerator
Service for generating composer manifest proposals
Table of Contents
Properties
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
$emConfUtility
protected
EmConfUtility
$emConfUtility
$requestFactory
protected
RequestFactory
$requestFactory
Methods
__construct()
public
__construct(RequestFactory $requestFactory, EmConfUtility $emConfUtility) : mixed
Parameters
- $requestFactory : RequestFactory
- $emConfUtility : EmConfUtility
getComposerManifestProposal()
Return the generated composer manifest content
public
getComposerManifestProposal(string $extensionKey) : string
Parameters
- $extensionKey : string
Return values
stringgetComposerManifestProposalFromTer()
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