Classes/Console/Service/XsdGenerator.php
public function generateXsdFromClassFiles(array $viewHelperPaths, $xsdNamespace)
    {
        $classNames = $this->getClassNamesInPaths($viewHelperPaths);
        if (count($classNames) === 0) {
            throw new Exception(sprintf('No ViewHelpers found in paths "%s"', implode(',', $viewHelperPaths)), 1464982249);
        }

        return $this->generateXsdFromClassNames($classNames, $xsdNamespace);
    }
public function generateXsdFromClassFiles(array $viewHelperPaths, $xsdNamespace)
    {
        $classNames = $this->getClassNamesInPaths($viewHelperPaths);
        if (count($classNames) === 0) {
            throw new Exception(sprintf('No ViewHelpers found in paths "%s"', implode(',', $viewHelperPaths)), 1464982249);
        }

        return $this->generateXsdFromClassNames($classNames, $xsdNamespace);
    }
Generate the XML Schema definition for a given namespace.
It will generate an XSD file for all view helpers in this namespace.

@param array $viewHelperPaths One or more paths to a view helper class files
@param string $xsdNamespace $xsdNamespace unique target namespace used in the XSD schema (for example "http://yourdomain.org/ns/viewhelpers")
@throws Exception
@return string XML Schema definition