for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace League\Tactician\Handler\Mapping;
use Exception;
final class FailedToMapCommand extends Exception
{
public static function className(string $commandClassName): self
return new static('Failed to map the class name for command ' . $commandClassName);
}
public static function methodName(string $commandClassName): self
return new static('Failed to map the method name for command ' . $commandClassName);