private function storeWrapperClass(): void
  {
    $code = $this->codeStore->getCode();

    switch ($this->wrapperClassType)
    {
      case 'static':
        // Nothing to do.
        break;

      case 'non static':
        $code = NonStatic::nonStatic($code);
        break;

      default:
        throw new FallenException('wrapper class type', $this->wrapperClassType);
    }

    $this->writeTwoPhases($this->wrapperFilename, $code);
  }
private function storeWrapperClass(): void
  {
    $code = $this->codeStore->getCode();

    switch ($this->wrapperClassType)
    {
      case 'static':
        // Nothing to do.
        break;

      case 'non static':
        $code = NonStatic::nonStatic($code);
        break;

      default:
        throw new FallenException('wrapper class type', $this->wrapperClassType);
    }

    $this->writeTwoPhases($this->wrapperFilename, $code);
  }
private function storeWrapperClass ( ) : void { $ code = $ this -> codeStore -> getCode ( ) ; switch ( $ this -> wrapperClassType ) { case 'static' : // Nothing to do. break ; case 'non static' : $ code = NonStatic :: nonStatic ( $ code ) ; break ; default : throw new FallenException ( 'wrapper class type' , $ this -> wrapperClassType ) ; } $ this -> writeTwoPhases ( $ this -> wrapperFilename , $ code ) ; }
Writes the wrapper class to the filesystem.
Writes the wrapper class to the filesystem .