SerializableProperty
- class Firstred\PostNL\Attribute\SerializableProperty
Summary
Methods
Methods
- public Firstred\PostNL\Attribute\SerializableProperty::__construct( $type, $isArray=false, $aliases=\[\], $supportedServices=\[\])
- This indicates that the given property is serializable. All serialization details shouldbe passed to the attribute, making it completely serializable without relying on reflectionof the property itself.
- Parameters:
$type (
class-string|"bool"|"int"|"float"|"string") Property type$isArray (bool) Should the property be an array
$aliases (string[]) Property shortname aliases such as Address
$supportedServices (
class-string[]) Supported services, empty array = all
- Throws:
- Throws:
- Throws:
- Throws:
- Since:
2.0.0