gossi\codegen\config\CodeFileGeneratorConfig::getBlankLineAtEnd PHP Method

getBlankLineAtEnd() public method

Returns whether a blank line should be generated at the end of the file
public getBlankLineAtEnd ( ) : boolean
return boolean `true` if it will be generated and `false` if not
    public function getBlankLineAtEnd()
    {
        return $this->options['blankLineAtEnd'];
    }

Usage Example

 public function testCodeFileGeneratorConfigDefaults()
 {
     $config = new CodeFileGeneratorConfig();
     $this->assertNull($config->getHeaderComment());
     $this->assertNull($config->getHeaderDocblock());
     $this->assertTrue($config->getBlankLineAtEnd());
     $this->assertFalse($config->getDeclareStrictTypes());
 }