| @@ 228-235 (lines=8) @@ | ||
| 225 | $classReflection = new ReflectionClass(static::class); |
|
| 226 | ||
| 227 | foreach (static::DaftObjectProperties() as $property) { |
|
| 228 | if ( |
|
| 229 | static::HasPublicMethod( |
|
| 230 | $classReflection, |
|
| 231 | 'Get' . ucfirst($property) |
|
| 232 | ) |
|
| 233 | ) { |
|
| 234 | self::$publicGetters[static::class][] = $property; |
|
| 235 | } |
|
| 236 | ||
| 237 | if ( |
|
| 238 | static::HasPublicMethod( |
|
| @@ 237-244 (lines=8) @@ | ||
| 234 | self::$publicGetters[static::class][] = $property; |
|
| 235 | } |
|
| 236 | ||
| 237 | if ( |
|
| 238 | static::HasPublicMethod( |
|
| 239 | $classReflection, |
|
| 240 | 'Set' . ucfirst($property) |
|
| 241 | ) |
|
| 242 | ) { |
|
| 243 | self::$publicSetters[static::class][] = $property; |
|
| 244 | } |
|
| 245 | } |
|
| 246 | } |
|
| 247 | } |
|