Skip to content

Use typed properties to assist parsing #3

Description

@SOF3

With typed properties introduced in PHP 7.4, it is possible to have fields with types set to a class (e.g. X) that implements some interface like Sandertv\Marshal\Data, which we can call X::parse($data) to fill.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions