private function writeRoutineFunction(array $routine, NameMangler $nameMangler): void
  {
    $wrapper = Wrapper::createRoutineWrapper($routine, $this->codeStore, $nameMangler, $this->lobAsString);
    $wrapper->writeRoutineFunction();

    $this->imports = array_merge($this->imports, $wrapper->getImports());
  }
private function writeRoutineFunction(array $routine, NameMangler $nameMangler): void
  {
    $wrapper = Wrapper::createRoutineWrapper($routine, $this->codeStore, $nameMangler, $this->lobAsString);
    $wrapper->writeRoutineFunction();

    $this->imports = array_merge($this->imports, $wrapper->getImports());
  }
private function writeRoutineFunction ( array $ routine , NameMangler $ nameMangler ) : void { $ wrapper = Wrapper :: createRoutineWrapper ( $ routine , $ this -> codeStore , $ nameMangler , $ this -> lobAsString ) ; $ wrapper -> writeRoutineFunction ( ) ; $ this -> imports = array_merge ( $ this -> imports , $ wrapper -> getImports ( ) ) ; }
Generates a complete wrapper method for a stored routine.

@param array       $routine     The metadata of the stored routine.
@param NameMangler $nameMangler The mangler for wrapper and parameter names.
Generates a complete wrapper method for a stored routine .