123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\TestModuleMessageQueueConfiguration;
- /**
- * Class for testing synchronous queue handlers.
- */
- class SyncHandler
- {
- /**
- * @param string
- * @return string
- */
- public function methodWithStringParam($param)
- {
- return 'Processed: ' . $param;
- }
- /**
- * @param bool
- * @return bool
- */
- public function methodWithBoolParam($param)
- {
- return !$param;
- }
- /**
- * @param mixed
- * @return mixed
- */
- public function methodWithMixedParam($param)
- {
- return $param;
- }
- }
|