src/PhpToZephir/Converter/ClassInformation.php
public function getClassesMetdata(array $nodes)
    {
        $classMetadata = new ClassMetadata();

        $classMetadata = $this->build($nodes, $classMetadata);

        $namespace = $classMetadata->getNamespace();

        if ($namespace === null) {
            throw new \Exception('Namespace not found');
        }

        return $classMetadata;
    }
public function getClassesMetdata(array $nodes)
    {
        $classMetadata = new ClassMetadata();

        $classMetadata = $this->build($nodes, $classMetadata);

        $namespace = $classMetadata->getNamespace();

        if ($namespace === null) {
            throw new \Exception('Namespace not found');
        }

        return $classMetadata;
    }
@param array $nodes

@return \PhpToZephir\Converter\ClassMetadata