Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Eloquent
Phony
Reflection
FeatureDetector
addFeature
Eloquent\Phony\Reflection\FeatureDetector::addFeature PHP Метод
Документация по классу FeatureDetector
Показать файл
Открыть проект
addFeature()
публичный
Метод
The callback will be passed this detector as the first argument. The return value will be interpreted as a boolean.
public
addFeature
(
string
$feature
,
callable
$callback
)
$feature
string
The feature.
$callback
callable
The feature detection callback.
public function addFeature($feature, $callback) { $this->features[$feature] = $callback; }
FeatureDetector
__construct
addFeature
checkInternalClass
checkInternalMethod
checkStatement
checkToken
features
instance
isSupported
runtime
standardFeatures
supported
uniqueSymbolName