getFormat() public method

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