src/CacheException.php
public static function invalidImplementation(
        string $className,
        \Exception $previous = null
    ): self {
        return new self(
            "invalid class name: {$className}",
            self::INVALID_IMPLEMENTATION,
            $previous
        );
    }
public static function invalidImplementation(
        string $className,
        \Exception $previous = null
    ): self {
        return new self(
            "invalid class name: {$className}",
            self::INVALID_IMPLEMENTATION,
            $previous
        );
    }
public static function invalidImplementation ( string $ className , \ Exception $ previous = null ) : self { return new self ( "invalid class name: {$className}" , self :: INVALID_IMPLEMENTATION , $ previous ) ; }
This method creates an exception if the given class name of the cache
implementation to use does not implement \Gustav\Cache\ACacheManager.

@param string $className
The class name
@param \Exception|null $previous
Previous exception
@return \Gustav\Cache\CacheException
The new exception
This method creates an exception if the given class name of the cache implementation to use does not implement \ Gustav \ Cache \ ACacheManager .