Exemplo n.º 1
0
 public function __call($method, $args = array())
 {
     try {
         return parent::__call($method, $args);
     } catch (lmbNoSuchMethodException $e) {
         if ($property = $this->mapAddToProperty($method)) {
             $this->_addToProperty($property, $args[0]);
         } else {
             throw $e;
         }
     }
 }