protected function setUp(): void
{ $this->propertyAccessor =
new PropertyAccessor();
} abstract protected static function getContainer(array
$array);
public static function getValidPropertyPaths(): array
{ return [ [static::
getContainer(['firstName' => 'Bernhard'
]), '[firstName]', 'Bernhard'
],
[static::
getContainer(['person' =>
static::
getContainer(['firstName' => 'Bernhard'
])]), '[person][firstName]', 'Bernhard'
],
];
} public static function getInvalidPropertyPaths(): array
{ return [ [static::
getContainer(['firstName' => 'Bernhard'
]), 'firstName', 'Bernhard'
],
[static::
getContainer(['person' =>
static::
getContainer(['firstName' => 'Bernhard'
])]), 'person.firstName', 'Bernhard'
],
];
}