public function __call($name, $arguments)
 {
     if (is_int($name)) {
         // support for accessing array values
         return $this()[$name];
     } else {
         return parent::__call($name, $arguments);
     }
 }