public function compile($stub, $modelName, $modelData, stdClass $scaffolderConfig, $hash, ScaffolderThemeExtensionInterface $themeExtension, array $extensions, $extra = null)
    {
        $this->stub = $stub;

        $this->stub = $themeExtension->runAfterLoginViewIsCompiled($this->stub, $scaffolderConfig);

        foreach ($extensions as $extension)
        {
            $this->stub = $extension->runAfterLoginViewIsCompiled($this->stub, $scaffolderConfig);
        }

        return $this->store(null, $scaffolderConfig, $this->stub, new FileToCompile(null, null));
    }