public function addSignature() {

        $signature = [
            "PARAMETERS" => [],
            "RETURNTYPE" => 'undefined'
        ];

        array_push($this->signatures, $signature);

        $this->current_signature = max(array_keys($this->signatures));

        return $this;

    }
public function addSignature() {

        $signature = [
            "PARAMETERS" => [],
            "RETURNTYPE" => 'undefined'
        ];

        array_push($this->signatures, $signature);

        $this->current_signature = max(array_keys($this->signatures));

        return $this;

    }
public function addSignature ( ) { $ signature = [ "PARAMETERS" => [ ] , "RETURNTYPE" => 'undefined' ] ; array_push ( $ this -> signatures , $ signature ) ; $ this -> current_signature = max ( array_keys ( $ this -> signatures ) ) ; return $ this ; }
Add a signature and switch internal pointer

@return self
Add a signature and switch internal pointer