JEMBOT MAWOT Bypass Shell

Current Path : /home/cinepatreb/billetterie/vendor/league/tactician/src/Exception/
Upload File :
Current File : /home/cinepatreb/billetterie/vendor/league/tactician/src/Exception/InvalidMiddlewareException.php

<?php

namespace League\Tactician\Exception;

/**
 * Thrown when the CommandBus was instantiated with an invalid middleware object
 */
class InvalidMiddlewareException extends \InvalidArgumentException implements Exception
{
    public static function forMiddleware($middleware)
    {
        $name = is_object($middleware) ? get_class($middleware) : gettype($middleware);
        $message = sprintf(
            'Cannot add "%s" to middleware chain as it does not implement the Middleware interface.',
            $name
        );
        return new static($message);
    }
}

xxxxx1.0, XXX xxxx