Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Puli
Manager
Api
Module
ModuleFile
setExtraKey
Puli\Manager\Api\Module\ModuleFile::setExtraKey PHP 메소드
ModuleFile 1 문서
파일 보기
프로젝트 열기: puli/manager
setExtraKey()
공개
메소드
Extra keys can be freely set by the user. They are stored in a separate area of the module file and not validated in any way.
public
setExtraKey
(
string
$key
,
mixed
$value
)
$key
string
The name of the key.
$value
mixed
The value to store.
public function setExtraKey($key, $value) { $this->extra[$key] = $value; }
ModuleFile
__construct
addBindingDescriptor
addDependency
addExtraKeys
addPathMapping
addTypeDescriptor
clearBindingDescriptors
clearDependencies
clearExtraKeys
clearPathMappings
clearTypeDescriptors
getBindingDescriptor
getBindingDescriptors
getDependencies
getExtraKey
getExtraKeys
getModuleName
getPath
getPathMapping
getPathMappings
getTypeDescriptor
getTypeDescriptors
getVersion
hasBindingDescriptor
hasBindingDescriptors
hasDependencies
hasDependency
hasExtraKey
hasExtraKeys
hasPathMapping
hasPathMappings
hasTypeDescriptor
hasTypeDescriptors
removeBindingDescriptor
removeDependency
removeExtraKey
removePathMapping
removeTypeDescriptor
setDependencies
setExtraKey
setExtraKeys
setModuleName
setVersion