original_string: public function tryCall($method, $arguments)
      {
          if ($ret = $this->hook('method-'.$method, $arguments)) {
              return $ret;
          }
          array_unshift($arguments, $this);
          if (($ret = $this->app->hook('global-method-'.$method, $arguments))) {
              return $ret;
          }
      }
code: public function tryCall($method, $arguments)
      {
          if ($ret = $this->hook('method-'.$method, $arguments)) {
              return $ret;
          }
          array_unshift($arguments, $this);
          if (($ret = $this->app->hook('global-method-'.$method, $arguments))) {
              return $ret;
          }
      }
code_tokens: public function tryCall ( $ method , $ arguments ) { if ( $ ret = $ this -> hook ( 'method-' . $ method , $ arguments ) ) { return $ ret ; } array_unshift ( $ arguments , $ this ) ; if ( ( $ ret = $ this -> app -> hook ( 'global-method-' . $ method , $ arguments ) ) ) { return $ ret ; } }
docstring: Attempts to call dynamic method. Returns array containing result or false.
  
  @param string $method    Name of the method
  @param array  $arguments Arguments
  
  @return mixed
docstring_tokens: Attempts to call dynamic method . Returns array containing result or false .