Hide
Less than 1 minute
Hide
class Hide extends \Hazaar\Model\Attribute\BaseExtends: Hazaar\Model\Attribute\Base
Properties
context
The context in which the property should be hidden.
private array $contextType: array
Methods
__construct
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, ?array $context): boolReturns: bool
Parameters
| Parameter | Type | Description |
|---|---|---|
$propertyValue | mixed | the value of the property to be serialized |
$property | ReflectionProperty | the reflection property instance |
$context | array | the context in which the serialization is taking place |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000