Webmozart\Console\Api\Config\OptionCommandConfig::getShortName PHP 메소드

getShortName() 공개 메소드

Returns the short option name of the command.
public getShortName ( ) : string
리턴 string The short option name.
    public function getShortName()
    {
        return $this->shortName;
    }

Usage Example

예제 #1
0
 public function testSetShortNameOverwritesPreviousShortName()
 {
     $this->config->setShortName('c');
     $this->config->setShortName('d');
     $this->assertSame('d', $this->config->getShortName());
 }