Documentation

MethodNameInflector

Deduce the method name to call on the command handler based on the command and handler instances.

Table of Contents

inflect()  : string
Return the method name to call on the command handler and return it.

Methods

inflect()

Return the method name to call on the command handler and return it.

public inflect(object $command, object $commandHandler) : string
Parameters
$command : object
$commandHandler : object
Return values
string

Search results