PHP 클래스 App\Services\Config\DotenvReader

상속: implements App\Services\Config\ConfigReaderInterface
파일 보기 프로젝트 열기: ngmy/webloyer 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$fs
$path

공개 메소드들

메소드 설명
__construct ( App\Services\Filesystem\FilesystemInterface $fs, $path )
getConfig ( string $name ) : string | null Get configuration from a .env file.

보호된 메소드들

메소드 설명
nullIfBlank ( $value )

메소드 상세

__construct() 공개 메소드

public __construct ( App\Services\Filesystem\FilesystemInterface $fs, $path )
$fs App\Services\Filesystem\FilesystemInterface

getConfig() 공개 메소드

Get configuration from a .env file.
public getConfig ( string $name ) : string | null
$name string Configuration name
리턴 string | null

nullIfBlank() 보호된 메소드

protected nullIfBlank ( $value )

프로퍼티 상세

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

protected $fs

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

protected $path