예제 #1
0
파일: CommandTest.php 프로젝트: ASP96/imbo
 public function testFetchesTheDefaultConfigurationIfNoneHasBeenSet()
 {
     $this->assertEquals(require __DIR__ . '/../../../../config/config.default.php', $this->command->getConfig());
 }
예제 #2
0
파일: AddPublicKey.php 프로젝트: imbo/imbo
 /**
  * {@inheritdoc}
  */
 public function __construct()
 {
     parent::__construct('add-public-key');
     $this->setDescription('Add a public key')->setHelp('Add a public key to the configured access control adapter')->addArgument('publicKey', InputArgument::REQUIRED, 'What should be the name of this public key?')->addArgument('privateKey', InputArgument::OPTIONAL, 'What should be the private key for this public key?');
 }