Beispiel #1
0
 public function __get($sIncName = null)
 {
     try {
         $oProperty = new \ReflectionProperty($this, $sIncName);
         if ($oProperty->isPublic()) {
             return $oProperty->getValue($this);
         }
     } catch (\ReflectionException $e) {
         //
     }
     return parent::__get($sIncName);
 }