[PR #12106] Feature: add support for ColocatedMappingDriver::$filePaths #13485

Closed
opened 2026-01-22 16:17:15 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/12106

State: closed
Merged: No


The changes introduced add support for ColocatedMappingDriver::$filePaths, from doctrine/persistence >= 4.1 (https://github.com/doctrine/persistence/pull/432). Since doctrine/orm maintains the support for doctrine/persistence of older versions, AttributeDriver ensures that $filePaths is actually defined. Tests use InstalledVersions to opt into new behavior if doctrine/persistence is at least version 4.1. The old behaviour can be adapted into the new by using DirectoryFilesIterator and FilePathNameIterator on directory paths.

**Original Pull Request:** https://github.com/doctrine/orm/pull/12106 **State:** closed **Merged:** No --- The changes introduced add support for `ColocatedMappingDriver::$filePaths`, from `doctrine/persistence` >= 4.1 (https://github.com/doctrine/persistence/pull/432). Since `doctrine/orm` maintains the support for `doctrine/persistence` of older versions, `AttributeDriver` ensures that `$filePaths` is actually defined. Tests use `InstalledVersions` to opt into new behavior if `doctrine/persistence` is at least version 4.1. The old behaviour can be adapted into the new by using `DirectoryFilesIterator` and `FilePathNameIterator` on directory paths.
admin added the pull-request label 2026-01-22 16:17:15 +01:00
admin closed this issue 2026-01-22 16:17:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#13485