‪TYPO3CMS  ‪main
TYPO3\CMS\Extensionmanager\Package\ComposerDeficitDetector Class Reference

Public Member Functions

 __construct (ListUtility $listUtility)
 
 getExtensionsWithComposerDeficit ()
 
 checkExtensionComposerDeficit (string $extensionKey)
 

Public Attributes

const EXTENSION_COMPOSER_MANIFEST_VALID = 0
 
const EXTENSION_COMPOSER_MANIFEST_MISSING = 1
 
const EXTENSION_KEY_MISSING = 2
 

Private Attributes

array $availableExtensions
 

Detailed Description

Detects extensions with composer deficits, e.g. missing composer.json file or missing extension-key property.

Definition at line 26 of file ComposerDeficitDetector.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extensionmanager\Package\ComposerDeficitDetector::__construct ( ListUtility  $listUtility)

Member Function Documentation

◆ checkExtensionComposerDeficit()

TYPO3\CMS\Extensionmanager\Package\ComposerDeficitDetector::checkExtensionComposerDeficit ( string  $extensionKey)

◆ getExtensionsWithComposerDeficit()

TYPO3\CMS\Extensionmanager\Package\ComposerDeficitDetector::getExtensionsWithComposerDeficit ( )

Get all extensions with composer deficit

Definition at line 42 of file ComposerDeficitDetector.php.

References TYPO3\CMS\Extensionmanager\Package\ComposerDeficitDetector\checkExtensionComposerDeficit().

Member Data Documentation

◆ $availableExtensions

array TYPO3\CMS\Extensionmanager\Package\ComposerDeficitDetector::$availableExtensions
private

Definition at line 32 of file ComposerDeficitDetector.php.

◆ EXTENSION_COMPOSER_MANIFEST_MISSING

const TYPO3\CMS\Extensionmanager\Package\ComposerDeficitDetector::EXTENSION_COMPOSER_MANIFEST_MISSING = 1

◆ EXTENSION_COMPOSER_MANIFEST_VALID

const TYPO3\CMS\Extensionmanager\Package\ComposerDeficitDetector::EXTENSION_COMPOSER_MANIFEST_VALID = 0

◆ EXTENSION_KEY_MISSING

const TYPO3\CMS\Extensionmanager\Package\ComposerDeficitDetector::EXTENSION_KEY_MISSING = 2