TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
455 B

<?php
/**
* This file is part of TypePHP.
*
* @link https://www.swoole.com/
* @contact service@swoole.com
*/
namespace TypePhp\Resolver;
final readonly class StaticPropertyFetchTarget
{
public function __construct(
public string $property,
public ?string $class,
public ?string $dynamicExpression,
) {
}
public function isDynamic(): bool
{
return $this->dynamicExpression !== null;
}
}