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.
 
 

28 lines
637 B

<?php
/**
* This file is part of TypePHP.
*
* Describes an abstract property contract declared by an interface.
*/
namespace TypePhp\Entity;
use PhpParser\Node\Stmt\Property;
final class InterfacePropertyDef
{
public string $class = '';
public array $typeCheck = [];
public string $typeStr = '';
public function __construct(
public readonly string $name,
public readonly int $flags,
public readonly string $type,
public readonly bool $nullable,
public readonly bool $readable,
public readonly bool $writable,
public readonly Property $node,
) {
}
}