PHP Class Altax\Foundation\Container

It's not a DI Container. This class contains core objects used globally.
Inheritance: implements ArrayAccess, implements Iterator, implements Countable
Afficher le fichier Open project: kohkimakimoto/altax Class Usage Examples

Protected Properties

Свойство Type Description
$app Application
$configFiles Configuration file paths to load.
$input
$instances Container managed instances
$modules Modules
$output

Méthodes publiques

Méthode Description
addModule ( $name, $module )
count ( )
current ( )
delete ( unknown $key ) Delete a value.
get ( unknown $key, $default = null, $delimiter = '/' ) Get a value
getApp ( )
getConfigFile ( $key )
getConfigFiles ( ) : [type] [getConfigFiles description]
getInput ( )
getInstances ( )
getModule ( $name )
getModules ( )
getName ( )
getOutput ( )
getVersion ( )
getVersionWithCommit ( )
isPhar ( )
key ( )
next ( )
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
rewind ( )
set ( unknown $key, unknown $value, $delimiter = '/' ) Set a value.
setApp ( $app )
setConfigFile ( $key, $path )
setConfigFiles ( array $files )
setInput ( $input )
setModules ( array $modules )
setOutput ( $output )
valid ( )

Méthodes protégées

Méthode Description
convertMultidimensional ( $oneDimArray, $leafValue ) Convert one dimensional array into multidimensional array

Method Details

addModule() public méthode

public addModule ( $name, $module )

convertMultidimensional() protected méthode

Convert one dimensional array into multidimensional array
protected convertMultidimensional ( $oneDimArray, $leafValue )

count() public méthode

public count ( )

current() public méthode

public current ( )

delete() public méthode

Delete a value.
public delete ( unknown $key )
$key unknown

get() public méthode

Get a value
public get ( unknown $key, $default = null, $delimiter = '/' )
$key unknown

getApp() public méthode

public getApp ( )

getConfigFile() public méthode

public getConfigFile ( $key )

getConfigFiles() public méthode

[getConfigFiles description]
public getConfigFiles ( ) : [type]
Résultat [type]

getInput() public méthode

public getInput ( )

getInstances() public méthode

public getInstances ( )

getModule() public méthode

public getModule ( $name )

getModules() public méthode

public getModules ( )

getName() public méthode

public getName ( )

getOutput() public méthode

public getOutput ( )

getVersion() public méthode

public getVersion ( )

getVersionWithCommit() public méthode

isPhar() public méthode

public isPhar ( )

key() public méthode

public key ( )

next() public méthode

public next ( )

offsetExists() public méthode

public offsetExists ( $offset )

offsetGet() public méthode

public offsetGet ( $offset )

offsetSet() public méthode

public offsetSet ( $offset, $value )

offsetUnset() public méthode

public offsetUnset ( $offset )

rewind() public méthode

public rewind ( )

set() public méthode

Set a value.
public set ( unknown $key, unknown $value, $delimiter = '/' )
$key unknown
$value unknown

setApp() public méthode

public setApp ( $app )

setConfigFile() public méthode

public setConfigFile ( $key, $path )

setConfigFiles() public méthode

public setConfigFiles ( array $files )
$files array

setInput() public méthode

public setInput ( $input )

setModules() public méthode

public setModules ( array $modules )
$modules array

setOutput() public méthode

public setOutput ( $output )

valid() public méthode

public valid ( )

Property Details

$app protected_oe property

Application
protected $app

$configFiles protected_oe property

Configuration file paths to load.
protected $configFiles

$input protected_oe property

protected $input

$instances protected_oe property

Container managed instances
protected $instances

$modules protected_oe property

Modules
protected $modules

$output protected_oe property

protected $output