Esempio n. 1
0
 /**
  * @param string $name
  * @return mixed|int
  * @throws \OutOfRangeException
  */
 public function __get($name)
 {
     $getter = $this->metadata->getterName($name);
     if ($getter) {
         return $this->{$getter}();
     } else {
         return $this->_get($name);
     }
 }