Added a method to get the path to the collection's configuration file, added a requirement for Symfony's YAML component.