PHP 클래스 Phprest\Config

파일 보기 프로젝트 열기: phprest/phprest 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$apiVersion string
$container League\Container\ContainerInterface
$debug boolean
$errorHandler League\BooBoo\Runner
$eventEmitter League\Event\EmitterInterface
$hateoasConfig Phprest\Service\Hateoas\Config
$hateoasService Phprest\Service\Hateoas\Service
$logHandler Phprest\ErrorHandler\Handler\Log
$loggerConfig Phprest\Service\Logger\Config
$loggerService Phprest\Service\Logger\Service
$router Phprest\Router\RouteCollection
$vendor string

공개 메소드들

메소드 설명
__construct ( string $vendor, string $apiVersion, boolean $debug = false )
getApiVersion ( ) : string
getContainer ( ) : League\Container\ContainerInterface
getErrorHandler ( ) : League\BooBoo\Runner
getEventEmitter ( ) : League\Event\EmitterInterface
getHateoasConfig ( ) : Config
getHateoasService ( ) : Service
getLogHandler ( ) : Log
getLoggerConfig ( ) : Config
getLoggerService ( ) : Service
getRouter ( ) : RouteCollection
getVendor ( ) : string
isDebug ( ) : boolean
setContainer ( League\Container\ContainerInterface $container )
setErrorHandler ( League\BooBoo\Runner $errorHandler )
setEventEmitter ( League\Event\EmitterInterface $eventEmitter )
setHateoasConfig ( Config $config )
setHateoasService ( Service $service )
setLogHandler ( Log $logHandler )
setLoggerConfig ( Config $config )
setLoggerService ( Service $service )
setRouter ( RouteCollection $router )
setRouterStrategy ( League\Route\Strategy\StrategyInterface $strategy )

메소드 상세

__construct() 공개 메소드

public __construct ( string $vendor, string $apiVersion, boolean $debug = false )
$vendor string
$apiVersion string
$debug boolean

getApiVersion() 공개 메소드

public getApiVersion ( ) : string
리턴 string

getContainer() 공개 메소드

public getContainer ( ) : League\Container\ContainerInterface
리턴 League\Container\ContainerInterface

getErrorHandler() 공개 메소드

public getErrorHandler ( ) : League\BooBoo\Runner
리턴 League\BooBoo\Runner

getEventEmitter() 공개 메소드

public getEventEmitter ( ) : League\Event\EmitterInterface
리턴 League\Event\EmitterInterface

getHateoasConfig() 공개 메소드

public getHateoasConfig ( ) : Config
리턴 Phprest\Service\Hateoas\Config

getHateoasService() 공개 메소드

public getHateoasService ( ) : Service
리턴 Phprest\Service\Hateoas\Service

getLogHandler() 공개 메소드

public getLogHandler ( ) : Log
리턴 Phprest\ErrorHandler\Handler\Log

getLoggerConfig() 공개 메소드

public getLoggerConfig ( ) : Config
리턴 Phprest\Service\Logger\Config

getLoggerService() 공개 메소드

public getLoggerService ( ) : Service
리턴 Phprest\Service\Logger\Service

getRouter() 공개 메소드

public getRouter ( ) : RouteCollection
리턴 Phprest\Router\RouteCollection

getVendor() 공개 메소드

public getVendor ( ) : string
리턴 string

isDebug() 공개 메소드

public isDebug ( ) : boolean
리턴 boolean

setContainer() 공개 메소드

public setContainer ( League\Container\ContainerInterface $container )
$container League\Container\ContainerInterface

setErrorHandler() 공개 메소드

public setErrorHandler ( League\BooBoo\Runner $errorHandler )
$errorHandler League\BooBoo\Runner

setEventEmitter() 공개 메소드

public setEventEmitter ( League\Event\EmitterInterface $eventEmitter )
$eventEmitter League\Event\EmitterInterface

setHateoasConfig() 공개 메소드

public setHateoasConfig ( Config $config )
$config Phprest\Service\Hateoas\Config

setHateoasService() 공개 메소드

public setHateoasService ( Service $service )
$service Phprest\Service\Hateoas\Service

setLogHandler() 공개 메소드

public setLogHandler ( Log $logHandler )
$logHandler Phprest\ErrorHandler\Handler\Log

setLoggerConfig() 공개 메소드

public setLoggerConfig ( Config $config )
$config Phprest\Service\Logger\Config

setLoggerService() 공개 메소드

public setLoggerService ( Service $service )
$service Phprest\Service\Logger\Service

setRouter() 공개 메소드

public setRouter ( RouteCollection $router )
$router Phprest\Router\RouteCollection

setRouterStrategy() 공개 메소드

public setRouterStrategy ( League\Route\Strategy\StrategyInterface $strategy )
$strategy League\Route\Strategy\StrategyInterface

프로퍼티 상세

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

protected string $apiVersion
리턴 string

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

protected ContainerInterface,League\Container $container
리턴 League\Container\ContainerInterface

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

protected bool $debug
리턴 boolean

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

protected Runner,League\BooBoo $errorHandler
리턴 League\BooBoo\Runner

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

protected EmitterInterface,League\Event $eventEmitter
리턴 League\Event\EmitterInterface

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

protected Config,Phprest\Service\Hateoas $hateoasConfig
리턴 Phprest\Service\Hateoas\Config

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

protected Service,Phprest\Service\Hateoas $hateoasService
리턴 Phprest\Service\Hateoas\Service

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

protected Log,Phprest\ErrorHandler\Handler $logHandler
리턴 Phprest\ErrorHandler\Handler\Log

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

protected Config,Phprest\Service\Logger $loggerConfig
리턴 Phprest\Service\Logger\Config

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

protected Service,Phprest\Service\Logger $loggerService
리턴 Phprest\Service\Logger\Service

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

protected RouteCollection,Phprest\Router $router
리턴 Phprest\Router\RouteCollection

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

protected string $vendor
리턴 string