interface ConfigRepository

저장소에서 제공해야할 기능들을 정의

Methods

find(string $siteKey, string $name)

search getter

array
fetchAncestor(string $siteKey, string $name)

search ancestors getter

array
fetchDescendant(string $siteKey, string $name)

search descendants getter

void
clearLike(ConfigEntity $config, array $excepts = array())

clear all just descendants vars

void
remove(string $siteKey, string $name)

remove

void
foster(ConfigEntity $config, string $to)

Parent Changing with descendant

void
affiliate(ConfigEntity $config, string $to)

affiliated to another config

Details

at line 36
ConfigEntity find(string $siteKey, string $name)

search getter

Parameters

string $siteKey site key
string $name the name

Return Value

ConfigEntity

at line 45
array fetchAncestor(string $siteKey, string $name)

search ancestors getter

Parameters

string $siteKey site key
string $name the name

Return Value

array

at line 54
array fetchDescendant(string $siteKey, string $name)

search descendants getter

Parameters

string $siteKey site key
string $name the name

Return Value

array

at line 62
ConfigEntity save(ConfigEntity $config)

save

Parameters

ConfigEntity $config config object

Return Value

ConfigEntity

at line 71
void clearLike(ConfigEntity $config, array $excepts = array())

clear all just descendants vars

Parameters

ConfigEntity $config config object
array $excepts target to the except

Return Value

void

at line 80
void remove(string $siteKey, string $name)

remove

Parameters

string $siteKey site key
string $name the name

Return Value

void

at line 89
void foster(ConfigEntity $config, string $to)

Parent Changing with descendant

Parameters

ConfigEntity $config config object
string $to to config prefix

Return Value

void

at line 98
void affiliate(ConfigEntity $config, string $to)

affiliated to another config

Parameters

ConfigEntity $config config object
string $to parent name

Return Value

void