Documentation

ApplicationInterface
in

Application interface

Tags
category

Pop

author

Nick Sagona, III nick@popphp.org

copyright

Copyright (c) 2009-2026 Nick Sagona, III

license

https://www.popphp.org/license New BSD License

version
5.0.0

Table of Contents

Methods

addConfigValue()  : ApplicationInterface
Add new value to config
config()  : mixed
Access application config
deleteConfigValue()  : ApplicationInterface
Replace existing value in config
getFullName()  : string
Get full name
getName()  : string
Get name
getVersion()  : string
Get version
hasFullName()  : bool
Determine if full name is set
hasName()  : bool
Determine if name is set
hasVersion()  : bool
Determine if version is set
load()  : ApplicationInterface
Load application
mergeConfig()  : ApplicationInterface
Merge new or altered config values with the existing config values
registerConfig()  : ApplicationInterface
Register a new configuration with the application
setFullName()  : static
Set full name
setName()  : static
Set name
setVersion()  : static
Set version
updateConfigValue()  : ApplicationInterface
Update existing value in config

Methods

hasFullName()

Determine if full name is set

public hasFullName() : bool
Return values
bool

mergeConfig()

Merge new or altered config values with the existing config values

public mergeConfig(mixed $config[, bool $preserve = false ][, array<string|int, mixed> $exclude = [] ]) : ApplicationInterface
Parameters
$config : mixed
$preserve : bool = false
$exclude : array<string|int, mixed> = []
Return values
ApplicationInterface

setFullName()

Set full name

public setFullName(string $fullName) : static
Parameters
$fullName : string
Return values
static

setName()

Set name

public setName(string $name) : static
Parameters
$name : string
Return values
static

setVersion()

Set version

public setVersion(string $version) : static
Parameters
$version : string
Return values
static

        
On this page

Search results