PHP 클래스 Dietcube\Application

상속: use trait Dietcube\Components\ContainerAwareTrait
파일 보기 프로젝트 열기: mercari/dietcube 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$app_namespace
$app_root
$config Config
$debug
$dirs
$env
$host
$path
$port
$protocol
$url

공개 메소드들

메소드 설명
__construct ( $app_root, $env )
config ( Pimple\Container $container )
createController ( $controller_name )
createLogger ( $path, $level = Logger::WARNING )
getAppNamespace ( )
getAppRoot ( )
getConfig ( ) : Config
getConfigDir ( )
getConfigFiles ( )
getContainer ( ) : Pimple\Container
getControllerByHandler ( $handler )
getEnv ( ) : string
getHost ( )
getPath ( )
getPort ( )
getProtocol ( )
getResourceDir ( )
getRoute ( )
getTemplateDir ( )
getTemplateExt ( )
getTmpDir ( )
getUrl ( )
getVendorDir ( )
getWebrootDir ( )
init ( Pimple\Container $container )
initHttpRequest ( Pimple\Container $container )
isDebug ( )
loadConfig ( )
setDir ( $dirname, $path )

보호된 메소드들

메소드 설명
bootConfig ( )
detectAppNamespace ( )
getDefaultDirs ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $app_root, $env )

bootConfig() 보호된 메소드

protected bootConfig ( )

config() 추상적인 공개 메소드

abstract public config ( Pimple\Container $container )
$container Pimple\Container

createController() 공개 메소드

public createController ( $controller_name )

createLogger() 공개 메소드

public createLogger ( $path, $level = Logger::WARNING )

detectAppNamespace() 보호된 메소드

protected detectAppNamespace ( )

getAppNamespace() 공개 메소드

public getAppNamespace ( )

getAppRoot() 공개 메소드

public getAppRoot ( )

getConfig() 공개 메소드

public getConfig ( ) : Config
리턴 Config

getConfigDir() 공개 메소드

public getConfigDir ( )

getConfigFiles() 공개 메소드

public getConfigFiles ( )

getContainer() 공개 메소드

public getContainer ( ) : Pimple\Container
리턴 Pimple\Container

getControllerByHandler() 공개 메소드

public getControllerByHandler ( $handler )

getDefaultDirs() 보호된 메소드

protected getDefaultDirs ( )

getEnv() 공개 메소드

public getEnv ( ) : string
리턴 string

getHost() 공개 메소드

public getHost ( )

getPath() 공개 메소드

public getPath ( )

getPort() 공개 메소드

public getPort ( )

getProtocol() 공개 메소드

public getProtocol ( )

getResourceDir() 공개 메소드

public getResourceDir ( )

getRoute() 공개 메소드

public getRoute ( )

getTemplateDir() 공개 메소드

public getTemplateDir ( )

getTemplateExt() 공개 메소드

public getTemplateExt ( )

getTmpDir() 공개 메소드

public getTmpDir ( )

getUrl() 공개 메소드

public getUrl ( )

getVendorDir() 공개 메소드

public getVendorDir ( )

getWebrootDir() 공개 메소드

public getWebrootDir ( )

init() 공개 메소드

public init ( Pimple\Container $container )
$container Pimple\Container

initHttpRequest() 공개 메소드

public initHttpRequest ( Pimple\Container $container )
$container Pimple\Container

isDebug() 공개 메소드

public isDebug ( )

loadConfig() 공개 메소드

public loadConfig ( )

setDir() 공개 메소드

public setDir ( $dirname, $path )

프로퍼티 상세

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

protected $app_namespace

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

protected $app_root

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

protected Config,dietcube $config
리턴 Config

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

protected $debug

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

protected $dirs

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

protected $env

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

protected $host

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

protected $path

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

protected $port

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

protected $protocol

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

protected $url