| 1 | <?php |
||
| 18 | class HandleClassNameWithoutSuffixInflector extends HandleClassNameInflector |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $suffix; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var int |
||
| 27 | */ |
||
| 28 | private $suffixLength; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $suffix The string to remove from end of each class name |
||
| 32 | */ |
||
| 33 | 3 | public function __construct($suffix = 'Command') |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @param object $command |
||
| 41 | * @param object $commandHandler |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 3 | public function inflect($command, $commandHandler): string |
|
| 54 | |||
| 55 | public function tearDown(): void |
||
| 59 | } |
||
| 60 |