ControllerFinder
in package
Read onlyYes
FinalYes
Finds all controllers in a namespace for auto route listing.
Tags
Table of Contents
Properties
- $locator : FileLocatorInterface
- $namespace : string
Methods
- __construct() : mixed
- find() : array<int, class-string>
Properties
$locator
private
FileLocatorInterface
$locator
$namespace
private
string
$namespace
Methods
__construct()
public
__construct(string $namespace) : mixed
Parameters
- $namespace : string
-
namespace to search
find()
public
find() : array<int, class-string>