Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
SyncHandler Class Reference

Public Member Functions

 methodWithStringParam ($param)
 
 methodWithBoolParam ($param)
 
 methodWithMixedParam ($param)
 

Detailed Description

Class for testing synchronous queue handlers.

Definition at line 11 of file SyncHandler.php.

Member Function Documentation

◆ methodWithBoolParam()

methodWithBoolParam (   $param)
Parameters
bool
Returns
bool

Definition at line 26 of file SyncHandler.php.

27  {
28  return !$param;
29  }

◆ methodWithMixedParam()

methodWithMixedParam (   $param)
Parameters
mixed
Returns
mixed

Definition at line 35 of file SyncHandler.php.

36  {
37  return $param;
38  }

◆ methodWithStringParam()

methodWithStringParam (   $param)
Parameters
string
Returns
string

Definition at line 17 of file SyncHandler.php.

18  {
19  return 'Processed: ' . $param;
20  }

The documentation for this class was generated from the following file: