Connector/ServiceBus/CommandHandlerMiddleware/Exception/NotFoundException.php
public static function fromCommand(CommandInterface $command)
    {
        $name = substr(strrchr(get_class($command), '\\'), 1);

        $message = 'No matching command handler found: ' . $name;

        return new self($message);
    }
public static function fromCommand(CommandInterface $command)
    {
        $name = substr(strrchr(get_class($command), '\\'), 1);

        $message = 'No matching command handler found: ' . $name;

        return new self($message);
    }
public static function fromCommand ( CommandInterface $ command ) { $ name = substr ( strrchr ( get_class ( $ command ) , '\\' ) , 1 ) ; $ message = 'No matching command handler found: ' . $ name ; return new self ( $ message ) ; }
@param CommandInterface $command

@return self
@param CommandInterface $command