1 | <?php |
||
23 | class MethodWithShortObjectNameAndSuffixResolver extends MethodWithObjectNameResolver |
||
24 | { |
||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | private $suffixToRemove; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | private $suffixToAdd; |
||
34 | |||
35 | /** |
||
36 | * @var int |
||
37 | */ |
||
38 | private $suffixLength; |
||
39 | |||
40 | /** |
||
41 | * @param string $suffixToRemove The string to remove from end of each class name |
||
42 | * @param string $suffixToAdd The string to add to the end of each class name |
||
43 | */ |
||
44 | public function __construct($suffixToRemove = 'Message', $suffixToAdd = 'Handler') |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function resolve($className) |
||
63 | } |
||
64 |