12 lines
279 B
PHP
12 lines
279 B
PHP
<?php
|
|
|
|
namespace Notes\Cronard\Attribute\Method;
|
|
|
|
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD)]
|
|
class Cronard implements \Notes\Attribute {
|
|
public function __construct(
|
|
public string $cron,
|
|
public null|string $method = null,
|
|
) {}
|
|
}
|