Keyspace.php Interfaces, Classes and Traits Keyspace Abstracts the iteration of the keyspace on a Redis instance by leveraging the SCAN command (Redis >= 2.8) wrapped in a fully-rewindable PHP iterator.