DirectoryResolver
class DirectoryResolver
| internal |
Turns the configured config, migration and schema paths into the directories to scan and watch.
It needs no booted application, so the result cache can hash its directories before anything boots.
Methods
static array
resolve(array $paths, FileHelper $fileHelper)
Resolve configured paths to directories.
Details
at line 37
static array
resolve(array $paths, FileHelper $fileHelper)
Resolve configured paths to directories.
An existing directory is taken literally, so glob characters in its path are not expanded. A path without glob characters is kept even if it does not exist, so that creating it can be noticed. A glob that matches no directory resolves to nothing.