$property = $session->getReverseRelation( $class, $property )

The getReverseRelation() function returns the name of the other end of a relationship pair denoted by the specified property name.

The inverse of ComposedOf is PartOf.

$relationship = $session->getReverseRelation(
      "Router", "ComposedOf");