isAnonymous() 공개 메소드

Returns whether the command is anonymous.
public isAnonymous ( ) : boolean
리턴 boolean Returns `true` if {@link markAnonymous()} was called and `false` otherwise.
예제 #1
0
 public function testMarkNoDefault()
 {
     $this->config->markAnonymous();
     $this->assertTrue($this->config->isDefault());
     $this->assertTrue($this->config->isAnonymous());
     $this->config->markNoDefault();
     $this->assertFalse($this->config->isDefault());
     $this->assertFalse($this->config->isAnonymous());
 }