$class = $session->getRelatedClass( $class, $property )
The getRelatedClass() function returns the name of the class of object that can be related to the specified class through the property, which must be a relationship.
$class = $session->getRelatedClass( "Router", "ComposedOf" );