11 lines
232 B
PHP
11 lines
232 B
PHP
<?php
|
|
|
|
namespace Notes\Event\Attribute\Method;
|
|
|
|
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD)]
|
|
class Event implements \Notes\Attribute {
|
|
public function __construct(
|
|
public string $name,
|
|
) {}
|
|
}
|