mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 07:15:38 +08:00
18 lines
326 B
PHP
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);
|
|
}
|
|
}
|