简体   繁体   English

Symfony2和Marketplace Web服务

[英]Symfony2 and Marketplace Web Services

I created script which uses Amazon Marketplace Web Services and I want to put it inside a controller indexAction() function. 我创建了使用Amazon Marketplace Web服务的脚本,并且希望将其放在控制器indexAction()函数中。 However when I do this it says that 但是当我这样做时,它说

Class 'MarketplaceWebServiceOrders_Client' not found in path_to_my_bundle

How can I load this class in correct way? 如何以正确的方式加载此类? Should I place 我应该放置

amazon-mws-v20090101-php-2012-09-28. amazon-mws-v20090101-php-2012-09-28。 V386158529 V386158529

amazon-mws-v20110101-php-2012-09-28. amazon-mws-v20110101-php-2012-09-28。 V386158559 V386158559

folders under vendor folder and register it somehow? 供应商文件夹下的文件夹并以某种方式注册?

You have problem with your include path, Set include_path in php.ini. 您的包含路径有问题,请在php.ini中设置include_path。 or If you show your code then we can help you to find out the problem. 或者,如果您显示代码,我们可以帮助您找出问题所在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM