* Return the scope for a scope start index. * *
string $filename: * @param int $scopeStartIndex * * @return ScopeInfo|null
public function getScopeForScopeStart($filename, $scopeStartIndex) { if (empty($this->scopes[$filename][$scopeStartIndex])) { return null; } return $this->scopes[$filename][$scopeStartIndex]; }