end() public method

Return to parent builder
public end ( ) : CliMenuBuilder
return CliMenuBuilder
Example #1
0
 public function testEndThrowsExceptionIfNoParentBuilder()
 {
     $builder = new CliMenuBuilder();
     $this->setExpectedException(RuntimeException::class, 'No parent builder to return to');
     $builder->end();
 }