library/Garp/Cli/Command/Email.php
protected function _validateArgs(array $args): bool {
        foreach (self::REQUIRED_FLAGS as $flag) {
            if (!array_key_exists($flag, $args)) {
                Garp_Cli::errorOut("No {$flag} flag provided.");
                return false;
            }
        }
        return true;
    }
protected function _validateArgs(array $args): bool {
        foreach (self::REQUIRED_FLAGS as $flag) {
            if (!array_key_exists($flag, $args)) {
                Garp_Cli::errorOut("No {$flag} flag provided.");
                return false;
            }
        }
        return true;
    }
protected function _validateArgs ( array $ args ) : bool { foreach ( self :: REQUIRED_FLAGS as $ flag ) { if ( ! array_key_exists ( $ flag , $ args ) ) { Garp_Cli :: errorOut ( "No {$flag} flag provided." ) ; return false ; } } return true ; }
Validates given arguments

@param array $args
@return boolean
Validates given arguments