コード例 #1
0
 /**
  *
  */
 protected function configure()
 {
     parent::configure('address');
     $this->setDescription('get postcode information')->addArgument('postcode', InputArgument::REQUIRED, 'The postcode')->addArgument('houseNumber', InputArgument::OPTIONAL, 'The house number');
 }
コード例 #2
0
 /**
  *
  */
 protected function configure()
 {
     parent::configure('wgs84');
     $this->setDescription('get postcode information based on geo-location')->addArgument('latitude', InputArgument::REQUIRED)->addArgument('longitude', InputArgument::REQUIRED);
 }