public function getSignature($compact = true) {

        if ( $compact ) {

            return array_merge([$this->signatures[$this->current_signature]["RETURNTYPE"]], array_values($this->signatures[$this->current_signature]["PARAMETERS"]));

        } else {

            return $this->signatures[$this->current_signature];

        }

    }
public function getSignature($compact = true) {

        if ( $compact ) {

            return array_merge([$this->signatures[$this->current_signature]["RETURNTYPE"]], array_values($this->signatures[$this->current_signature]["PARAMETERS"]));

        } else {

            return $this->signatures[$this->current_signature];

        }

    }
public function getSignature ( $ compact = true ) { if ( $ compact ) { return array_merge ( [ $ this -> signatures [ $ this -> current_signature ] [ "RETURNTYPE" ] ] , array_values ( $ this -> signatures [ $ this -> current_signature ] [ "PARAMETERS" ] ) ) ; } else { return $ this -> signatures [ $ this -> current_signature ] ; } }
Get the current method's signature

@param bool $compact (default) Compact signatures in a format compatible with system.methodSignature

@return array
Get the current method s signature