Sensio\Bundle\GeneratorBundle\Generator\DoctrineCrudGenerator::generateEditView PHP Метод

generateEditView() приватный Метод

Generates the edit.html.twig template in the final bundle.
private generateEditView ( string $dir )
$dir string The path to the folder that hosts templates in the bundle
    private function generateEditView($dir)
    {
        $this->renderFile($this->skeletonDir, 'views/edit.html.twig', $dir.'/edit.html.twig', array(
            'dir'          => $this->skeletonDir,
            'route_prefix' => $this->routePrefix,
            'entity'       => $this->entity,
            'actions'      => $this->actions,
        ));
    }