Reflection - getProperties() method - allow to include properties of parent classes

This commit is contained in:
Meritoo
2017-09-21 22:35:21 +02:00
parent a0d28b326e
commit 633696ebc0
5 changed files with 57 additions and 12 deletions

View File

@@ -19,8 +19,15 @@ class A
{
use E;
private $count = 1;
protected function lorem()
{
return 'ipsum';
}
protected function getCount()
{
return $this->count;
}
}