generateShowView() private method

Generates the show.html.twig template in the final bundle.
private generateShowView ( string $dir )
$dir string The path to the folder that hosts templates in the bundle
 protected function generateShowView($dir)
 {
     parent::generateShowView($dir);
     $this->renderFile('crud/views/others/item.html.twig.twig', $dir . '/item.html.twig', array('bundle' => $this->bundle->getName(), 'entity' => $this->entity, 'identifier' => $this->metadata->identifier[0], 'fields' => $this->metadata->fieldMappings, 'actions' => $this->actions, 'route_prefix' => $this->routePrefix, 'route_name_prefix' => $this->routeNamePrefix));
 }