Ejemplo n.º 1
0
 /**
  * Call system.methodSignature() for the given method
  *
  * @param  array  $method
  * @return array  array(array(return, param, param, param...))
  */
 public function getMethodSignature($method)
 {
     $signature = $this->_system->methodSignature($method);
     if (!is_array($signature)) {
         $error = 'Invalid signature for method "' . $method . '"';
         throw new Exception\IntrospectException($error);
     }
     return $signature;
 }