1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
<?php
/** @generate-class-entries */
#[Attribute(Attribute::TARGET_CLASS)]
final class Attribute
{
/** @cvalue ZEND_ATTRIBUTE_TARGET_CLASS */
const int TARGET_CLASS = UNKNOWN;
/** @cvalue ZEND_ATTRIBUTE_TARGET_FUNCTION */
const int TARGET_FUNCTION = UNKNOWN;
/** @cvalue ZEND_ATTRIBUTE_TARGET_METHOD */
const int TARGET_METHOD = UNKNOWN;
/** @cvalue ZEND_ATTRIBUTE_TARGET_PROPERTY */
const int TARGET_PROPERTY = UNKNOWN;
/** @cvalue ZEND_ATTRIBUTE_TARGET_CLASS_CONST */
const int TARGET_CLASS_CONSTANT = UNKNOWN;
/** @cvalue ZEND_ATTRIBUTE_TARGET_PARAMETER */
const int TARGET_PARAMETER = UNKNOWN;
/** @cvalue ZEND_ATTRIBUTE_TARGET_ALL */
const int TARGET_ALL = UNKNOWN;
/** @cvalue ZEND_ATTRIBUTE_IS_REPEATABLE */
const int IS_REPEATABLE = UNKNOWN;
public int $flags;
public function __construct(int $flags = Attribute::TARGET_ALL) {}
}
#[Attribute(Attribute::TARGET_METHOD)]
final class ReturnTypeWillChange
{
public function __construct() {}
}
#[Attribute(Attribute::TARGET_CLASS)]
final class AllowDynamicProperties
{
public function __construct() {}
}
/**
* @strict-properties
*/
#[Attribute(Attribute::TARGET_PARAMETER)]
final class SensitiveParameter
{
public function __construct() {}
}
/**
* @strict-properties
* @not-serializable
*/
final class SensitiveParameterValue
{
private readonly mixed $value;
public function __construct(mixed $value) {}
public function getValue(): mixed {}
public function __debugInfo(): array {}
}
/**
* @strict-properties
*/
#[Attribute(Attribute::TARGET_METHOD)]
final class Override
{
public function __construct() {}
}
/**
* @strict-properties
*/
#[Attribute(Attribute::TARGET_METHOD|Attribute::TARGET_FUNCTION|Attribute::TARGET_CLASS_CONSTANT)]
final class Deprecated
{
public readonly ?string $message;
public readonly ?string $since;
public function __construct(?string $message = null, ?string $since = null) {}
}
|