ControllerFinder
in package
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 read-only
private
FileLocatorInterface
$locator
$namespace read-only
private
string
$namespace
Methods
__construct()
public
__construct(string $namespace) : mixed
Parameters
- $namespace : string
-
namespace to search
find()
public
find() : array<int, class-string>