Metabor\Statemachine\NamedCommand::__toString PHP Method

__toString() public method

I would require to provide a name because its really needed for visualisation and the class name might be very long and not very descriptive.
public __toString ( ) : string
return string
    public function __toString()
    {
        return $this->getName();
    }