for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpSchool\CliMenu\Exception;
/**
* @author Aydin Hassan <[email protected]>
*/
class InvalidShortcutException extends \RuntimeException
{
public static function fromShortcut(string $shortcut) : self
return new self(sprintf('Shortcut key must be only one character. Got: "%s"', $shortcut));
}