phpBB API Documentation
Class

phpbb\controller\provider

class provider

Controller interface

Methods

__construct(array $routing_files = array())

Construct method

null find_routing_files(finder $finder)

Find the list of routing files

provider find(string $base_path = '')

Find a list of controllers

RouteCollection get_routes()

Get the list of routes

Details

at line 43
public __construct(array $routing_files = array())

Construct method

Parameters

array $routing_files Array of strings containing paths to YAML files holding route information

at line 54
public null find_routing_files(finder $finder)

Find the list of routing files

Parameters

finder $finder

Return Value

null

at line 71
public provider find(string $base_path = '')

Find a list of controllers

Parameters

string $base_path Base path to prepend to file paths

Return Value

provider

at line 88
public RouteCollection get_routes()

Get the list of routes

Return Value

RouteCollection Get the route collection