PHP 클래스 Altax\Foundation\Container

It's not a DI Container. This class contains core objects used globally.
상속: implements ArrayAccess, implements Iterator, implements Countable
파일 보기 프로젝트 열기: kohkimakimoto/altax 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$app Application
$configFiles Configuration file paths to load.
$input
$instances Container managed instances
$modules Modules
$output

공개 메소드들

메소드 설명
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 ( )

보호된 메소드들

메소드 설명
convertMultidimensional ( $oneDimArray, $leafValue ) Convert one dimensional array into multidimensional array

메소드 상세

addModule() 공개 메소드

public addModule ( $name, $module )

convertMultidimensional() 보호된 메소드

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

count() 공개 메소드

public count ( )

current() 공개 메소드

public current ( )

delete() 공개 메소드

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

get() 공개 메소드

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

getApp() 공개 메소드

public getApp ( )

getConfigFile() 공개 메소드

public getConfigFile ( $key )

getConfigFiles() 공개 메소드

[getConfigFiles description]
public getConfigFiles ( ) : [type]
리턴 [type]

getInput() 공개 메소드

public getInput ( )

getInstances() 공개 메소드

public getInstances ( )

getModule() 공개 메소드

public getModule ( $name )

getModules() 공개 메소드

public getModules ( )

getName() 공개 메소드

public getName ( )

getOutput() 공개 메소드

public getOutput ( )

getVersion() 공개 메소드

public getVersion ( )

getVersionWithCommit() 공개 메소드

isPhar() 공개 메소드

public isPhar ( )

key() 공개 메소드

public key ( )

next() 공개 메소드

public next ( )

offsetExists() 공개 메소드

public offsetExists ( $offset )

offsetGet() 공개 메소드

public offsetGet ( $offset )

offsetSet() 공개 메소드

public offsetSet ( $offset, $value )

offsetUnset() 공개 메소드

public offsetUnset ( $offset )

rewind() 공개 메소드

public rewind ( )

set() 공개 메소드

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

setApp() 공개 메소드

public setApp ( $app )

setConfigFile() 공개 메소드

public setConfigFile ( $key, $path )

setConfigFiles() 공개 메소드

public setConfigFiles ( array $files )
$files array

setInput() 공개 메소드

public setInput ( $input )

setModules() 공개 메소드

public setModules ( array $modules )
$modules array

setOutput() 공개 메소드

public setOutput ( $output )

valid() 공개 메소드

public valid ( )

프로퍼티 상세

$app 보호되어 있는 프로퍼티

Application
protected $app

$configFiles 보호되어 있는 프로퍼티

Configuration file paths to load.
protected $configFiles

$input 보호되어 있는 프로퍼티

protected $input

$instances 보호되어 있는 프로퍼티

Container managed instances
protected $instances

$modules 보호되어 있는 프로퍼티

Modules
protected $modules

$output 보호되어 있는 프로퍼티

protected $output