PHP 8.2.30
Preview: FileLocatorInterface.php Size: 876 B
/proc/thread-self/root/opt/alt/php55/usr/share/pear/Symfony/Component/Config/FileLocatorInterface.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Config;

/**
 * @author Fabien Potencier <fabien@symfony.com>
 */
interface FileLocatorInterface
{
    /**
     * Returns a full path for a given file name.
     *
     * @param mixed   $name        The file name to locate
     * @param string  $currentPath The current path
     * @param Boolean $first       Whether to return the first occurrence or an array of filenames
     *
     * @return string|array The full path to the file|An array of file paths
     *
     * @throws \InvalidArgumentException When file is not found
     */
    public function locate($name, $currentPath = null, $first = true);
}

Directory Contents

Dirs: 5 × Files: 4

Name Size Perms Modified Actions
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
Exception DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
Loader DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
Resource DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
Util DIR
- drwxr-xr-x 2024-03-03 22:54:39
Edit Download
336 B lrw-r--r-- 2019-12-18 11:24:05
Edit Download
2.74 KB lrw-r--r-- 2019-12-18 11:24:05
Edit Download
2.75 KB lrw-r--r-- 2019-12-18 11:24:05
Edit Download
876 B lrw-r--r-- 2019-12-18 11:24:05
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).