phpBB API Documentation
Class

phpbb\routing\resources_locator\default_resources_locator

class default_resources_locator implements resources_locator_interface

Locates the yaml routing resources located in the default locations

Methods

__construct(string $phpbb_root_path, string $environment, manager $extension_manager = null)

Construct method

mixed[] locate_resources()

Locates a list of resources used to load the routes

Details

at line 51
public __construct(string $phpbb_root_path, string $environment, manager $extension_manager = null)

Construct method

Parameters

string $phpbb_root_path phpBB root path
string $environment Name of the current environment
manager $extension_manager Extension manager

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