Files
static-php-cli/src/StaticPHP/Runtime/Executor/Executor.php
crazywhalecc 14bfb4198a v3 base
2025-11-30 15:35:04 +08:00

18 lines
326 B
PHP

<?php
declare(strict_types=1);
namespace StaticPHP\Runtime\Executor;
use StaticPHP\Package\LibraryPackage;
abstract class Executor
{
public function __construct(protected LibraryPackage $package) {}
public static function create(LibraryPackage $package): static
{
return new static($package);
}
}