Webmozart\Console\Api\Config\OptionCommandConfig::getLongName PHP Method

getLongName() public method

Alias of {@link getName()}.
public getLongName ( ) : string
return string The command name.
    public function getLongName()
    {
        return $this->getName();
    }

Usage Example

 public function testSetLongName()
 {
     $this->config->setLongName('delete');
     $this->assertSame('delete', $this->config->getLongName());
     $this->assertSame('delete', $this->config->getName());
 }