Symfony\Component\Config\FileLocator
FileLocator uses an array of pre-defined paths to find files.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class FileLocator
implements
FileLocatorInterface
{
- // members
- protected $paths;
- // methods
- public void __construct()
- public string|array locate()
- private Boolean isAbsolutePath()
Hierarchy
Extended by
Implements
Members
protected
- $paths
Methods
private
- isAbsolutePath() — Returns whether the file path is an absolute path.
public
- __construct() — Constructor.
- locate() — Returns a full path for a given file name.