mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 08:45:40 +08:00
Add support for custom source check-update callbacks in artifacts
This commit is contained in:
11
src/StaticPHP/Attribute/Artifact/CustomSourceCheckUpdate.php
Normal file
11
src/StaticPHP/Attribute/Artifact/CustomSourceCheckUpdate.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace StaticPHP\Attribute\Artifact;
|
||||
|
||||
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
|
||||
class CustomSourceCheckUpdate
|
||||
{
|
||||
public function __construct(public string $artifact_name) {}
|
||||
}
|
||||
Reference in New Issue
Block a user