ConfigPathBuilder extends PathBuilder
Config path builder, which builds a list of files for a given config environment.
Tags
Table of Contents
$locator | ResourceLocatorInterface | |
---|---|---|
$uri | string | |
buildPaths() | Add path to default.php and environment mode file, if specified. | array |
__construct() | Create the loader. | mixed |
buildPaths() | Build out the ordered list of file paths, using the designated locator and uri for this loader. | array |
Properties
$locator
protected
ResourceLocatorInterface
$locator
$uri
protected
string
$uri
Methods
buildPaths()
Add path to default.php and environment mode file, if specified.
public
buildPaths(
[ $environment :
string|null
= null ]
)
: array
Parameters
- $environment : string|null = null
[defaul: null]
Return values
array__construct()
Create the loader.
public
__construct(
$locator :
ResourceLocatorInterface
, $uri :
string
)
: mixed
Parameters
- $locator : ResourceLocatorInterface
- $uri : string
Return values
mixedbuildPaths()
Build out the ordered list of file paths, using the designated locator and uri for this loader.
public
abstract buildPaths(
)
: array