src/Eloquent/Typhoon/Generator/ValidatorClassGenerator.php
public function generateFromClass(
        RuntimeConfiguration $configuration,
        ReflectionClass $class,
        &$className = null
    ) {
        $this->typeCheck->generateFromClass(func_get_args());

        return $this->generateFromFile(
            $configuration,
            ClassName::fromString($class->getName())->toAbsolute(),
            $class->getFileName(),
            $className
        );
    }
public function generateFromClass(
        RuntimeConfiguration $configuration,
        ReflectionClass $class,
        &$className = null
    ) {
        $this->typeCheck->generateFromClass(func_get_args());

        return $this->generateFromFile(
            $configuration,
            ClassName::fromString($class->getName())->toAbsolute(),
            $class->getFileName(),
            $className
        );
    }
@param RuntimeConfiguration $configuration
@param ReflectionClass      $class
@param null                 &$className

@return string