src/Zicht/Tool/Packager/Node/DynamicStub.php
protected function compileInitialization(Buffer $buffer)
    {
        $buffer->write('$app = new Zicht\Tool\Application(')
            ->asPhp($this->appName)
            ->raw(', Zicht\Version\Version::fromString(')
            ->asPhp($this->appVersion)
            ->raw(') ?: new Zicht\Version\Version(), Zicht\Tool\Configuration\ConfigurationLoader::fromEnv(')->asPhp($this->configFilename)->raw(')')
            ->raw(');')
            ->eol();
    }
protected function compileInitialization(Buffer $buffer)
    {
        $buffer->write('$app = new Zicht\Tool\Application(')
            ->asPhp($this->appName)
            ->raw(', Zicht\Version\Version::fromString(')
            ->asPhp($this->appVersion)
            ->raw(') ?: new Zicht\Version\Version(), Zicht\Tool\Configuration\ConfigurationLoader::fromEnv(')->asPhp($this->configFilename)->raw(')')
            ->raw(');')
            ->eol();
    }
protected function compileInitialization ( Buffer $ buffer ) { $ buffer -> write ( '$app = new Zicht\Tool\Application(' ) -> asPhp ( $ this -> appName ) -> raw ( ', Zicht\Version\Version::fromString(' ) -> asPhp ( $ this -> appVersion ) -> raw ( ') ?: new Zicht\Version\Version(), Zicht\Tool\Configuration\ConfigurationLoader::fromEnv(' ) -> asPhp ( $ this -> configFilename ) -> raw ( ')' ) -> raw ( ');' ) -> eol ( ) ; }
Writes the initialization code for a dynamic build

@param \Zicht\Tool\Script\Buffer $buffer
@return void
Writes the initialization code for a dynamic build