aspirecloud/app/Enums/PackageType.php
Joost de Valk 2194d6a095 Remove typo3-theme package type (not yet specified)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Joost de Valk <joost@altha.nl>
2026-03-20 16:12:33 +01:00

23 lines
457 B
PHP

<?php
declare(strict_types=1);
namespace App\Enums;
enum PackageType: string
{
case CORE = 'wp-core';
case PLUGIN = 'wp-plugin';
case THEME = 'wp-theme';
case TYPO3_CORE = 'typo3-core';
case TYPO3_EXTENSION = 'typo3-extension';
/**
* Get the list of package type values.
*
* @return array<string>
*/
public static function values(): array
{
return array_column(self::cases(), 'value');
}
}