$session->storeClassRepository( $filename, $class )

The storeClassRepository() function saves the repository for the named class in the specified file.

 $session->saveClassRepository( "save.rps", "Host" );