public function generateFromSource(
        RuntimeConfiguration $configuration,
        ClassName $sourceClassName,
        $source,
        &$className = null
    ) {
        $this->typeCheck->generateFromSource(func_get_args());

        return $this->generate(
            $configuration,
            $this->classMapper()->classBySource($sourceClassName, $source),
            $className
        );
    }
public function generateFromSource(
        RuntimeConfiguration $configuration,
        ClassName $sourceClassName,
        $source,
        &$className = null
    ) {
        $this->typeCheck->generateFromSource(func_get_args());

        return $this->generate(
            $configuration,
            $this->classMapper()->classBySource($sourceClassName, $source),
            $className
        );
    }
@param RuntimeConfiguration $configuration
@param ClassName            $sourceClassName
@param string               $source
@param null                 &$className

@return string