public function getNamespaces() { if ($this->namespaces === null) { $msg = 'getNamespaces() doesn\'t work before the source was analyzed.'; throw new \RuntimeException($msg); } return $this->namespaces; }