class installer_resources_locator implements resources_locator_interface

Locates the yaml routing resources taking update directories into consideration

Properties

protected filesystem_interface $filesystem

phpBB's filesystem handler

protected string $phpbb_root_path

phpBB root path

protected string $environment

Name of the current environment

Methods

__construct(filesystem_interface $filesystem, string $phpbb_root_path, string $environment)

Construct method

array
locate_resources()

Locates a list of resources used to load the routes

Details

at line 51
__construct(filesystem_interface $filesystem, string $phpbb_root_path, string $environment)

Construct method

Parameters

filesystem_interface $filesystem

phpBB's filesystem handler

string $phpbb_root_path

phpBB root path

string $environment

Name of the current environment

at line 61
array locate_resources()

Locates a list of resources used to load the routes

Each entry of the list can be either the resource or an array composed of 2 elements: the resource and its type.

Return Value

array

List of resources