PHP 클래스 Themosis\Foundation\Application

상속: extends Illuminate\Container\Container
파일 보기 프로젝트 열기: themosis/framework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$loadedProviders array The loaded service providers.
$paths array Same as $GLOBALS['themosis.paths'].

공개 메소드들

메소드 설명
__construct ( )
register ( ServiceProvider | string $provider, array $options = [], boolean $force = false ) : ServiceProvider Register a service provider with the application.
registerAllPaths ( array $paths ) : Application Register into the application instance, all project paths registered.
registerApplication ( ) Register the Application class into the container, so we can access it from the container itself.

메소드 상세

__construct() 공개 메소드

public __construct ( )

register() 공개 메소드

Register a service provider with the application.
public register ( ServiceProvider | string $provider, array $options = [], boolean $force = false ) : ServiceProvider
$provider ServiceProvider | string
$options array
$force boolean
리턴 ServiceProvider

registerAllPaths() 공개 메소드

Setup this method to be called later on an 'init' hook only.
public registerAllPaths ( array $paths ) : Application
$paths array The registered paths.
리턴 Application

registerApplication() 공개 메소드

Register the Application class into the container, so we can access it from the container itself.
public registerApplication ( )

프로퍼티 상세

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

The loaded service providers.
protected array $loadedProviders
리턴 array

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

Same as $GLOBALS['themosis.paths'].
protected array $paths
리턴 array