public function requireScopes()
	{
		$scopes = func_get_args();

		$has_scopes = call_user_func_array([$this, 'hasOneOfScopes'], $scopes);

		if (! $has_scopes) {
			throw new AccessDeniedException;
		}

		return true;
	}
public function requireScopes()
	{
		$scopes = func_get_args();

		$has_scopes = call_user_func_array([$this, 'hasOneOfScopes'], $scopes);

		if (! $has_scopes) {
			throw new AccessDeniedException;
		}

		return true;
	}
public function requireScopes ( ) { $ scopes = func_get_args ( ) ; $ has_scopes = call_user_func_array ( [ $ this , 'hasOneOfScopes' ] , $ scopes ) ; if ( ! $ has_scopes ) { throw new AccessDeniedException ; } return true ; }
Require a set of scopes or throw exception

Scopes passed as an array in one argument are all required. Of scopes that are passed as separate arguments,
only one set is required.

$args = ['IAmRequired', 'MeToo'], ['orUs', 'andUsToo']

@return bool
@throws \League\OAuth2\Server\Exception\AccessDeniedException
Require a set of scopes or throw exception