public static function verifyInstanceOf(string $method, string $name, $argument, string $class)
    {
        static::verify(
                $argument instanceof $class,
                self::messageFormat($method, $name, 'expecting instance of %s, %s given'),
                $class,
                Debug::getType($argument)
        );
    }
public static function verifyInstanceOf(string $method, string $name, $argument, string $class)
    {
        static::verify(
                $argument instanceof $class,
                self::messageFormat($method, $name, 'expecting instance of %s, %s given'),
                $class,
                Debug::getType($argument)
        );
    }
public static function verifyInstanceOf ( string $ method , string $ name , $ argument , string $ class ) { static :: verify ( $ argument instanceof $ class , self :: messageFormat ( $ method , $ name , 'expecting instance of %s, %s given' ) , $ class , Debug :: getType ( $ argument ) ) ; }
Verifies the supplied argument value is an instance of the supplied class.

@param string $method The method
@param string $name
@param mixed  $argument
@param string $class

@throws static
Verifies the supplied argument value is an instance of the supplied class .