Hide
Less than 1 minute
Hide
Properties
context
public string $contextMethods
__construct
Create a new Required rule.
public __construct(string $context): voidParameters
| Parameter | Type | Description |
|---|---|---|
$context | string | The context in which to hide the property |
serialize
Serializes the property value based on the given context.
public serialize(mixed $propertyValue, \ReflectionProperty $property, ?string $context): boolParameters
| Parameter | Type | Description |
|---|---|---|
$propertyValue | mixed | the value of the property to be serialized |
$property | \ReflectionProperty | the reflection property instance |
$context | string | the context in which the serialization is taking place |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:29 +0000