ApaiIO\Operations\OperationInterface::getName PHP Метод

getName() публичный Метод

Gets the name of the operation
См. также: http://docs.aws.amazon.com/AWSECommerceService/2011-08-01/DG/CHAP_OperationListAlphabetical.html
public getName ( ) : string
Результат string
    public function getName();

Usage Example

Пример #1
0
 /**
  * Prepares the parameters for the request
  *
  * @param OperationInterface     $operation
  * @param ConfigurationInterface $configuration
  *
  * @return array
  */
 protected function prepareRequestParams(OperationInterface $operation, ConfigurationInterface $configuration)
 {
     $baseRequestParams = ['Service' => 'AWSECommerceService', 'AWSAccessKeyId' => $configuration->getAccessKey(), 'AssociateTag' => $configuration->getAssociateTag(), 'Operation' => $operation->getName(), 'Version' => '2013-08-01', 'Timestamp' => Util::getTimeStamp()];
     $operationParams = $operation->getOperationParameter();
     foreach ($operationParams as $key => $value) {
         if (true === is_array($value)) {
             $operationParams[$key] = implode(',', $value);
         }
     }
     $fullParameterList = array_merge($baseRequestParams, $operationParams);
     ksort($fullParameterList);
     return $fullParameterList;
 }
All Usage Examples Of ApaiIO\Operations\OperationInterface::getName