static-php-cli/src/SPC/util/CustomExt.php

25 lines
534 B
PHP
Raw Normal View History

2023-04-15 18:45:11 +08:00
<?php
declare(strict_types=1);
namespace SPC\util;
use SPC\builder\Extension;
/**
* Custom extension attribute and manager
*
* This class provides functionality to register and manage custom PHP extensions
* that can be used during the build process.
*/
2023-04-15 18:45:11 +08:00
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS)]
class CustomExt
{
/**
* Constructor for custom extension attribute
*
* @param string $ext_name The extension name
*/
public function __construct(public string $ext_name) {}
2023-04-15 18:45:11 +08:00
}