blob: a15ddcf9a58502339fe323d0fe7ce7ec06b36d83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
declare(strict_types=1);
namespace Shirabe\PluginClassifier;
final class PropertyInfo
{
public function __construct(
public readonly string $name,
/** 'public' | 'protected' | 'private' */
public readonly string $visibility,
public readonly bool $static,
/** Class-like FQCNs in the native type. @var list<string> */
public readonly array $classTypes,
/** Native type is array/iterable/mixed/object or absent. */
public readonly bool $expandable,
/** Class-like FQCNs from the `@var` docblock. @var list<string> */
public readonly array $docblockTypes,
) {
}
}
|