$readAcessor =
$extractor->
getReadInfo($class,
$property);
if (!
$found) { $this->
assertNull($readAcessor);
return;
} $this->
assertNotNull($readAcessor);
$this->
assertSame($type,
$readAcessor->
getType());
$this->
assertSame($name,
$readAcessor->
getName());
$this->
assertSame($visibility,
$readAcessor->
getVisibility());
$this->
assertSame($static,
$readAcessor->
isStatic());
} public static function readAccessorProvider(): array
{ return [ [Dummy::
class, 'bar', true, PropertyReadInfo::TYPE_PROPERTY, 'bar', PropertyReadInfo::VISIBILITY_PRIVATE, false
],
[Dummy::
class, 'baz', true, PropertyReadInfo::TYPE_PROPERTY, 'baz', PropertyReadInfo::VISIBILITY_PROTECTED, false
],
[Dummy::
class, 'bal', true, PropertyReadInfo::TYPE_PROPERTY, 'bal', PropertyReadInfo::VISIBILITY_PUBLIC, false
],
[Dummy::
class, 'parent', true, PropertyReadInfo::TYPE_PROPERTY, 'parent', PropertyReadInfo::VISIBILITY_PUBLIC, false
],
[Dummy::
class, 'static', true, PropertyReadInfo::TYPE_METHOD, 'getStatic', PropertyReadInfo::VISIBILITY_PUBLIC, true
],
[