phpBB API Documentation
Class

phpbb\routing\resources_locator\installer_resources_locator

class installer_resources_locator implements resources_locator_interface

Locates the yaml routing resources taking update directories into consideration

Methods

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

Construct method

mixed[] locate_resources()

Locates a list of resources used to load the routes

Details

at line 51
public __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
public mixed[] 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

mixed[] List of resources