public function schemaToFqClassName(SchemaDescriptor $schema, $withMajor = false)
    {
        $id = $schema->getId();
        $vendor = StringUtils::toCamelFromSlug($id->getVendor());
        $package = StringUtils::toCamelFromSlug(str_replace('.', '-', $id->getPackage()));
        return "{$vendor}{$package}{$this->schemaToClassName($schema, $withMajor)}";
    }
public function schemaToFqClassName(SchemaDescriptor $schema, $withMajor = false)
    {
        $id = $schema->getId();
        $vendor = StringUtils::toCamelFromSlug($id->getVendor());
        $package = StringUtils::toCamelFromSlug(str_replace('.', '-', $id->getPackage()));
        return "{$vendor}{$package}{$this->schemaToClassName($schema, $withMajor)}";
    }
public function schemaToFqClassName ( SchemaDescriptor $ schema , $ withMajor = false ) { $ id = $ schema -> getId ( ) ; $ vendor = StringUtils :: toCamelFromSlug ( $ id -> getVendor ( ) ) ; $ package = StringUtils :: toCamelFromSlug ( str_replace ( '.' , '-' , $ id -> getPackage ( ) ) ) ; return "{$vendor}{$package}{$this->schemaToClassName($schema, $withMajor)}" ; }
Returns a fully qualified class name to be used for the given SchemaDescriptor.
Use this in generated code to avoid name collisions.

@param SchemaDescriptor $schema
@param bool             $withMajor

@return string
Returns a fully qualified class name to be used for the given SchemaDescriptor . Use this in generated code to avoid name collisions .