Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Phan
Language
Context
isInGlobalScope
Phan\Language\Context::isInGlobalScope PHP Метод
Документация по классу Context
Показать файл
Открыть проект
isInGlobalScope()
публичный
Метод
public
isInGlobalScope
( ) :
boolean
Результат
boolean
True if we're in the global scope (not in a class, method, function, closure).
public function isInGlobalScope() : bool { return !$this->isInElementScope(); }
Context
__construct
addGlobalScopeVariable
addScopeVariable
getClassFQSEN
getClassInScope
getElementInScope
getFunctionLikeFQSEN
getFunctionLikeInScope
getIsStrictTypes
getNamespace
getNamespaceMapFor
getScope
hasNamespaceMapFor
hasSuppressIssue
isInClassScope
isInElementScope
isInFunctionLikeScope
isInGlobalScope
isInMethodScope
setScope
withNamespace
withNamespaceMap
withScope
withScopeVariable
withStrictTypes