메소드 | 설명 | |
---|---|---|
createComparer ( callable | integer | null $closure, integer $sortOrder, boolean &$isReversed ) : callable | string | null | Convert string lambda or SORT_ flags to callable function. Sets isReversed to false if descending is reversed. | |
createLambda ( callable | null $closure, string $closureArgs, Closure | callable | null $default = null ) : callable | null | Convert string lambda to callable function. If callable is passed, return as is. | |
init ( ) | ||
lambdaToSortFlagsAndOrder ( callable | string | integer | null $closure, integer | boolean &$sortOrder ) : callable | string | integer | null | Convert string lambda to SORT_ flags. Convert sortOrder from bool to SORT_ order. |
메소드 | 설명 | |
---|---|---|
createLambdaFromString ( string $closure, string $closureArgs ) : string | null | Convert string lambda to callable function. |