Files
static-php-cli/src/StaticPHP/Runtime/Executor/Executor.php

18 lines
326 B
PHP
Raw Normal View History

2025-11-30 15:35:04 +08:00
<?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);
}
}