mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
15 lines
297 B
PHP
15 lines
297 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace StaticPHP\Attribute\Package;
|
|
|
|
/**
|
|
* Indicates that the annotated class defines a PHP extension.
|
|
*/
|
|
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
|
|
readonly class Extension
|
|
{
|
|
public function __construct(public string $name) {}
|
|
}
|