- WIP on attributes
This commit is contained in:
parent
59fa22ade0
commit
f3270dbc25
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Notes\Cronard\Attribute\Method;
|
||||
|
||||
class Cronard implements \Notes\Attribute {
|
||||
public function __construct(
|
||||
public string $cron,
|
||||
public null|string $method = null,
|
||||
) {}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Notes\Cronard\Attribute\Object;
|
||||
|
||||
class Cronard implements \Notes\Attribute {
|
||||
public function __construct(
|
||||
public string $cron,
|
||||
public string $method = "__invoke",
|
||||
) {}
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
<?php namespace Notes\Cronard;
|
||||
|
||||
use Notes\ObjectReflection,
|
||||
Notes\ObjectResolver;
|
||||
use Notes\ObjectResolver;
|
||||
|
||||
use RuntimeException, DirectoryIterator, Generator, Closure;
|
||||
|
||||
|
|
Loading…
Reference in New Issue