Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
RecursiveDirectoryConfig
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5/**
6 * This file is part of php-fast-forward/config.
7 *
8 * This source file is subject to the license bundled
9 * with this source code in the file LICENSE.
10 *
11 * @copyright Copyright (c) 2025-2026 Felipe SayĆ£o Lobato Abreu <github@mentordosnerds.com>
12 * @license   https://opensource.org/licenses/MIT MIT License
13 *
14 * @see       https://github.com/php-fast-forward/config
15 * @see       https://github.com/php-fast-forward
16 * @see       https://datatracker.ietf.org/doc/html/rfc2119
17 */
18
19namespace FastForward\Config;
20
21/**
22 * Class RecursiveDirectoryConfig.
23 *
24 * Extends DirectoryConfig to support recursive loading of configuration files from a root directory.
25 * This class SHALL match both top-level and nested PHP files using a recursive glob pattern.
26 */
27 class RecursiveDirectoryConfig extends DirectoryConfig
28{
29    use LazyLoadConfigTrait;
30
31    /**
32     * @var string Recursive pattern to match all *.php files in all nested directories.
33     */
34    protected const PATTERN = '{*,**/*}.php';
35}