setArgs() 공개 메소드

public setArgs ( string $args ) : static
$args string the command arguments as string. Note that these will not get escaped!
리턴 static for method chaining
예제 #1
0
 public function testCanResetArguments()
 {
     $command = new Command();
     $command->addArg('--demo');
     $command->addArg('-name=test');
     $command->setArgs('--arg1=x');
     $this->assertEquals("--arg1=x", $command->getArgs());
 }