private function checkOptions($options)
    {
        if (empty($options['username'])) {
            throw new \Exception('Username is not set', 2301);
        }
        if (empty($options['password'])) {
            throw new \Exception('Password or hash is not set', 2302);
        }
        if (empty($options['host'])) {
            throw new \Exception('CPanel Host is not set', 2303);
        }

        return $this;
    }
private function checkOptions($options)
    {
        if (empty($options['username'])) {
            throw new \Exception('Username is not set', 2301);
        }
        if (empty($options['password'])) {
            throw new \Exception('Password or hash is not set', 2302);
        }
        if (empty($options['host'])) {
            throw new \Exception('CPanel Host is not set', 2303);
        }

        return $this;
    }
private function checkOptions ( $ options ) { if ( empty ( $ options [ 'username' ] ) ) { throw new \ Exception ( 'Username is not set' , 2301 ) ; } if ( empty ( $ options [ 'password' ] ) ) { throw new \ Exception ( 'Password or hash is not set' , 2302 ) ; } if ( empty ( $ options [ 'host' ] ) ) { throw new \ Exception ( 'CPanel Host is not set' , 2303 ) ; } return $ this ; }
checking options for 'username', 'password', and 'host'. If they are not set, some exception will be thrown.

@param array $options list of options that will be checked

@return self
@throws \Exception
@since v1.0.0
checking options for username password and host . If they are not set some exception will be thrown .