MethodNameInflector
last analyzed

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 12
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
inflect() 0 1 ?
1
<?php
2
3
namespace League\Tactician\Handler\MethodNameInflector;
4
5
/**
6
 * Deduce the method name to call on the command handler based on the command
7
 * and handler instances.
8
 */
9
interface MethodNameInflector
10
{
11
    /**
12
     * Return the method name to call on the command handler and return it.
13
     *
14
     * @param object $command
15
     * @param object $commandHandler
16
     *
17
     * @return string
18
     */
19
    public function inflect($command, $commandHandler);
20
}
21