Neuron-PHP

IMvcApplication extends IApplication
in

MVC Application Interface

Extends the base application interface with MVC-specific capabilities including routing and dependency injection container access.

Table of Contents

Methods

getContainer()  : IContainer
Get the dependency injection container
getRegistryObject()  : mixed
getRouter()  : Router
Get the application router instance
getSetting()  : mixed
hasContainer()  : bool
Check if a dependency injection container has been configured
run()  : mixed
Generic run method.
setRegistryObject()  : mixed
setSetting()  : void

Methods

getRegistryObject()

public getRegistryObject(string $name) : mixed
Parameters
$name : string

getSetting()

public getSetting(string $section, string $name) : mixed
Parameters
$section : string
$name : string

hasContainer()

Check if a dependency injection container has been configured

public hasContainer() : bool
Return values
bool

run()

Generic run method.

public run([array<string|int, mixed> $argv = [] ]) : mixed
Parameters
$argv : array<string|int, mixed> = []

setRegistryObject()

public setRegistryObject(string $name, mixed $object) : mixed
Parameters
$name : string
$object : mixed

setSetting()

public setSetting(string $section, string $name, string $value) : void
Parameters
$section : string
$name : string
$value : string

        
On this page

Search results