NamedCommandExtractor
in package
implements
CommandNameExtractor
Extract the name from a NamedCommand
Table of Contents
Interfaces
- CommandNameExtractor
- Extract the name from a command so that the name can be determined by the context better than simply the class name
Methods
- extract() : string
- Extract the name from a command
Methods
extract()
Extract the name from a command
public
extract(mixed $command) : string
Parameters
- $command : mixed