public function getCommand($name, array $args = []) { // Set the default accountId to "-" for all operations. if (!isset($args['accountId'])) { $args['accountId'] = '-'; } return parent::getCommand($name, $args); }
/** * {@inheritdoc} */ public function getCommand($name, array $args = []) { $args = $args + ['Service' => 'AWSECommerceService', 'Operation' => $name]; if (!isset($args['AssociateTag'])) { $args['AssociateTag'] = $this->getAssociateTag(); } return parent::getCommand($name, $args); }
/** * {@inheritdoc} * * Sets the default accountId to "-" for all operations. */ public function getCommand($name, array $args = []) { return parent::getCommand($name, $args + ['accountId' => '-']); }
/** * {@inheritdoc} */ public function getCommand($name, array $args = []) { return parent::getCommand($name, $args); }