| @@ 34-43 (lines=10) @@ | ||
| 31 | $props[$prop->name] = $prop; |
|
| 32 | } |
|
| 33 | $parent = $this->class->getParent(); |
|
| 34 | if ($parent instanceof ClassData) { |
|
| 35 | $props = array_merge( |
|
| 36 | $parent->properties->all(new Specification( |
|
| 37 | $spec->getParentMode(), |
|
| 38 | $spec->isStatic(), |
|
| 39 | $spec->isMagic() |
|
| 40 | )), |
|
| 41 | $props |
|
| 42 | ); |
|
| 43 | } |
|
| 44 | ksort($props); |
|
| 45 | return $props; |
|
| 46 | } |
|
| @@ 60-69 (lines=10) @@ | ||
| 57 | return null; |
|
| 58 | } |
|
| 59 | $parent = $this->class->getParent(); |
|
| 60 | if ($parent instanceof ClassData) { |
|
| 61 | return $parent->properties->get( |
|
| 62 | $propName, |
|
| 63 | new Specification( |
|
| 64 | $spec->getParentMode(), |
|
| 65 | $spec->isStatic(), |
|
| 66 | $spec->isMagic() |
|
| 67 | ) |
|
| 68 | ); |
|
| 69 | } |
|
| 70 | } |
|
| 71 | ||
| 72 | private $map = []; |
|