PHP 클래스 Kraken\Filesystem\FilesystemAdapterSimpleFactory

상속: extends Kraken\Util\Factory\SimpleFactory, implements Kraken\Util\Factory\SimpleFactoryInterface
파일 보기 프로젝트 열기: kraken-php/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$defaults mixed[]

공개 메소드들

메소드 설명
__construct ( mixed[] $defaults = [] )
__destruct ( )

보호된 메소드들

메소드 설명
getClass ( ) : string Return class of adapter.
getClient ( ) : string Return client class for adapter creation if it needs one.
getDefaults ( ) : mixed[] Return array with default settings that needs to be passed to adapter.
onCreate ( mixed[] $config = [] ) : League\Flysystem\AdapterInterface Factory method for adapter.
param ( mixed[] $local, string $name ) : mixed | null Return param saved under specified key in local settings or fallbacks to global settings.
params ( mixed[] $local = [] ) : mixed[] Return given local settings merged onto global ones.

메소드 상세

__construct() 공개 메소드

public __construct ( mixed[] $defaults = [] )
$defaults mixed[]

__destruct() 공개 메소드

public __destruct ( )

getClass() 추상적인 보호된 메소드

Return class of adapter.
abstract protected getClass ( ) : string
리턴 string

getClient() 추상적인 보호된 메소드

Return client class for adapter creation if it needs one.
abstract protected getClient ( ) : string
리턴 string

getDefaults() 추상적인 보호된 메소드

Return array with default settings that needs to be passed to adapter.
abstract protected getDefaults ( ) : mixed[]
리턴 mixed[]

onCreate() 추상적인 보호된 메소드

Factory method for adapter.
abstract protected onCreate ( mixed[] $config = [] ) : League\Flysystem\AdapterInterface
$config mixed[]
리턴 League\Flysystem\AdapterInterface

param() 보호된 메소드

Return param saved under specified key in local settings or fallbacks to global settings.
protected param ( mixed[] $local, string $name ) : mixed | null
$local mixed[]
$name string
리턴 mixed | null

params() 보호된 메소드

Return given local settings merged onto global ones.
protected params ( mixed[] $local = [] ) : mixed[]
$local mixed[]
리턴 mixed[]

프로퍼티 상세

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

protected mixed[] $defaults
리턴 mixed[]