*
Code completion - expected arguments are displayed on the top of the suggestions list when used in comparison expressions
* Inspections [when used in a comparison with a value/assignment to/return from method] - the element absent from the expected values list produces the inspection warning
* Code generation - for example, when generating the 'switch' statement, all possible expected values are inserted automatically
*
*
* Expected values can be any of the following:
*
* - numbers
* - string literals
* - constant references
* - class constant references
*
*
* Expected arguments can be specified in any of the following ways:
*
* - #[ExpectedValues(values: [1,2,3])] means that one of the following is expected: `1`, `2`, or `3`
* - #[ExpectedValues(values: MY_CONST] - default value of MY_CONST is expected to be array creation expression, in this case value of MY_CONST will be inlined
* - #[ExpectedValues(flags: [1,2,3])] means that a bitmask of the following is expected: `1`, `2`, or `3`
* - #[ExpectedValues(valuesFromClass: MyClass::class)] means that one of the constants from the class `MyClass` is expected
* - #[ExpectedValues(flagsFromClass: ExpectedValues::class)] means that a bitmask of the constants from the class `MyClass` is expected
*
*
* The attribute with the number of provided constructor arguments different from 1 will result in undefined behavior.
* @since 8.0
*/
#[Attribute(Attribute::TARGET_FUNCTION|Attribute::TARGET_METHOD|Attribute::TARGET_PARAMETER|Attribute::TARGET_PROPERTY)]
class ExpectedValues
{
public function __construct(
array $values = [],
array $flags = [],
?string $valuesFromClass = null,
?string $flagsFromClass = null,
) {
}
}__halt_compiler();----SIGNATURE:----Rb20h/f5FIyQ5FyDM3VJWEbOogmniwkq/DeLd0B+xEkRhJwzQu+44kkYlEcWRfFilVWQppaZtFUfNRNJ6gjqKPSaKKUiH2DQPXSgKWw8hL5oQDTewtEtdNOQitVBvtSBCBtXVJ8q8jMx6VjFuh/HI6rLu1XRdollGFojr5sXdu8weqR4gypnQxBFel2D00cpGsnw/6iVJ6R3iSyv0AUyaX+jwipWMNrz8eQjpFt+X2nYfRoVsiVxH5jyHjGVC8SZYyU5i1iyTY+LS+0GY0Ika+duice8CfRtHRRVvPgRhccW0OJxqxDQzxFtcaIq6+HsV14UZKfUSnAy5jQi3W2dckkErK2ruYZ30C1gtMPraLAPXFW1uZtmazijkoTbFz7o7B79BuCio+hPBqBZS3GhhzR4roMnmqZoKrTMZfkogx677gXeD5jM1GPF8Psv/IzxkfLgUx1PrymWHqc0rBN6bwKC3wuQ/FNx8WmftDEWr8LzAMFexEWg91MV3EAzdXMJoT2SONQWmskCaqLrdBUHutXoBlSvKYca82kF2ozI/VcpY7cHr2aqaFwsacdPbhlLVopieAaOFNYDA/MjzRrG7C1+PVwqT/VUM/nB9bQC66x5lPXFFpN0AkJym9bgRJEY884SsvG4p/KCKQlsXiFvWnPi/Yj2NA4b2A9/Q+SHyAY=----ATTACHMENT:----NTc3NTk2OTMwNDk2NDMwMiA5NDU3OTc1ODY4NTU4MzY0IDY0NTY3NTc4NzU1OTU2Mg==