Skip to content

Add name validation in meta #63

Closed
Closed
@f3ath

Description

@f3ath

Need to validate attribute names in meta objects. The validation should be deep, e.g. in this example an exception should be thrown:

$m = Meta::fromArray([
  'valid_name' => [
    'valid_name_again' => [
      '#invalid_name_hidden_deeply' => 'omg'
    ]
  ]
]);

Add tests to test/MemberNamesTest.php.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions