Documentation

ControllerBuilder
in package

Table of Contents

Constants

APP_NAMESPACE  = 'Vatjar'

Properties

$classBuilder  : DependencyInjectionClassBuilder
$routes  : array<string|int, RouteInterface>

Methods

__construct()  : mixed
ControllerBuilder constructor.
rebuildControllers()  : void
getBuildableControllerList()  : array<string|int, mixed>
isInjectableController()  : bool
storedControllerNameToControllerName()  : string

Constants

Properties

Methods

rebuildControllers()

public rebuildControllers(string $responseClass, string $requestClass) : void
Parameters
$responseClass : string
$requestClass : string
Tags
throws
ReflectionException

getBuildableControllerList()

private getBuildableControllerList() : array<string|int, mixed>
Tags
throws
ReflectionException
Return values
array<string|int, mixed>

isInjectableController()

private isInjectableController(string $controllerClass) : bool
Parameters
$controllerClass : string
Tags
throws
ReflectionException
Return values
bool

storedControllerNameToControllerName()

private storedControllerNameToControllerName(string $storedControllerName) : string
Parameters
$storedControllerName : string
Return values
string

        
On this page

Search results