Example #1
0
 public function __call($name, $args)
 {
     if (!in_array($name, array("start", "end")) || $args == array()) {
         return parent::__call($name, $args);
     }
     $this->{$name} = (int) $args[0];
     return true;
 }