getFormat() public method

Builds a format with the arguments and options added to the builder.
public getFormat ( ) : ArgsFormat
return ArgsFormat The built format.
 public function testBuildEmptyDefinition()
 {
     $definition = $this->builder->getFormat();
     $this->assertSame($this->baseFormat, $definition->getBaseFormat());
     $this->assertCount(0, $definition->getArguments());
     $this->assertCount(0, $definition->getOptions());
 }