53 [
'static',
'self',
'parent']
68 $this->tokens->getPreviousToken($key)
71 $this->staticCalls[] = $key;
84 $staticClassParts = [];
85 while ($this->tokens->getTokenCodeByKey(
87 ) == T_STRING || $this->tokens->getTokenCodeByKey(
89 ) == T_NS_SEPARATOR) {
90 $staticClassParts[] = $this->tokens->getTokenValueByKey($staticCall - $step);
93 return implode(array_reverse($staticClassParts));
101 foreach ($this->staticCalls as $staticCall) {
106 $this->dependencies[] =
$class;
getClassByStaticCall($staticCall)
getDependencies(Uses $uses)
__construct(Tokens $tokens)
$_option $_optionId $class
getClassNameWithNamespace($class)