def METHOD_NAME(self, path_to_yaml: str) -> None:
    """
    Registers the environments listed in a yaml file (either local or remote). Note
    that the entries are registered lazily: the registration will only happen when
    an environment is accessed.
    The yaml file must have the following format :
    ```yaml
    environments:
    - <identifier of the first environment>:
        expected_reward: <expected reward of the environment>
        description: | <a multi line description of the environment>
          <continued multi line description>
        linux_url: <The url for the Linux executable zip file>
        darwin_url: <The url for the OSX executable zip file>
        win_url: <The url for the Windows executable zip file>
    - <identifier of the second environment>:
        expected_reward: <expected reward of the environment>
        description: | <a multi line description of the environment>
          <continued multi line description>
        linux_url: <The url for the Linux executable zip file>
        darwin_url: <The url for the OSX executable zip file>
        win_url: <The url for the Windows executable zip file>
    - ...
    ```
    :param path_to_yaml: A local path or url to the yaml file
    """
    self._manifests.append(path_to_yaml)
    self._sync = False