src/Validator/Validator.php
protected function isClass(...$args)
    {
        foreach ($args as $arg) {
            if (!$this->isString($arg) || !class_exists($arg)) {
                return false;
            }
        }

        return true;
    }
protected function isClass(...$args)
    {
        foreach ($args as $arg) {
            if (!$this->isString($arg) || !class_exists($arg)) {
                return false;
            }
        }

        return true;
    }
protected function isClass ( ... $ args ) { foreach ( $ args as $ arg ) { if ( ! $ this -> isString ( $ arg ) || ! class_exists ( $ arg ) ) { return false ; } } return true ; }
Checks if the specified argument is a valid class.

@param mixed $arg The argument to validate.

@return bool True if the specified argument is valid. False if it does not.
Checks if the specified argument is a valid class .