public function getSignatures($compact = true) {

        if ( $compact ) {

            $signatures = [];

            foreach ( $this->signatures as $signature ) {

                $signatures[] = array_merge([$signature["RETURNTYPE"]], array_values($signature["PARAMETERS"]));

            }

            return $signatures;

        } else {

            return $this->signatures;

        }

    }
public function getSignatures($compact = true) {

        if ( $compact ) {

            $signatures = [];

            foreach ( $this->signatures as $signature ) {

                $signatures[] = array_merge([$signature["RETURNTYPE"]], array_values($signature["PARAMETERS"]));

            }

            return $signatures;

        } else {

            return $this->signatures;

        }

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

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

@return array
Get the method s signatures