original_string: public function getInstallScript()
      {
          if (! $this->installScript) {
              $installClass = $this->installNamespace.'Install';
  
              if (! class_exists($installClass)) {
                  $message = sprintf('No install class found at %s. Nothing to do.', $installClass);
  
                  throw new RuntimeException($message);
              }
  
              $installScript = new $installClass;
  
              $this->installScript = $installScript;
          }
  
          return $this->installScript;
      }
code: public function getInstallScript()
      {
          if (! $this->installScript) {
              $installClass = $this->installNamespace.'Install';
  
              if (! class_exists($installClass)) {
                  $message = sprintf('No install class found at %s. Nothing to do.', $installClass);
  
                  throw new RuntimeException($message);
              }
  
              $installScript = new $installClass;
  
              $this->installScript = $installScript;
          }
  
          return $this->installScript;
      }
code_tokens: public function getInstallScript ( ) { if ( ! $ this -> installScript ) { $ installClass = $ this -> installNamespace . 'Install' ; if ( ! class_exists ( $ installClass ) ) { $ message = sprintf ( 'No install class found at %s. Nothing to do.' , $ installClass ) ; throw new RuntimeException ( $ message ) ; } $ installScript = new $ installClass ; $ this -> installScript = $ installScript ; } return $ this -> installScript ; }
docstring: Get install script
  
  Use injected script if it exist, otherwise instantiate the default.
  
  @return AbstractInstall
  @throws RuntimeException If the install class cannot be found
docstring_tokens: Get install script