original_string: public function show($id)
      {
          $record = $this->modelRepository->findOrFail($id);
  
          $this->checkListParents(false);
  
          return view($this->getShowView(), [
              'moduleKey'           => $this->moduleKey,
              'routePrefix'         => $this->routePrefix,
              'permissionPrefix'    => $this->permissionPrefix,
              'model'               => $this->modelInformation,
              'record'              => $record,
              'recordReference'     => $this->getReferenceRepository()->getReferenceForModel($record),
              'fieldStrategies'     => $this->renderedShowFieldStrategies($record),
              'hasActiveListParent' => (bool) $this->listParentRelation,
              'topListParentOnly'   => $this->showsTopParentsOnly(),
              'listParents'         => $this->listParents,
          ]);
      }
code: public function show($id)
      {
          $record = $this->modelRepository->findOrFail($id);
  
          $this->checkListParents(false);
  
          return view($this->getShowView(), [
              'moduleKey'           => $this->moduleKey,
              'routePrefix'         => $this->routePrefix,
              'permissionPrefix'    => $this->permissionPrefix,
              'model'               => $this->modelInformation,
              'record'              => $record,
              'recordReference'     => $this->getReferenceRepository()->getReferenceForModel($record),
              'fieldStrategies'     => $this->renderedShowFieldStrategies($record),
              'hasActiveListParent' => (bool) $this->listParentRelation,
              'topListParentOnly'   => $this->showsTopParentsOnly(),
              'listParents'         => $this->listParents,
          ]);
      }
code_tokens: public function show ( $ id ) { $ record = $ this -> modelRepository -> findOrFail ( $ id ) ; $ this -> checkListParents ( false ) ; return view ( $ this -> getShowView ( ) , [ 'moduleKey' => $ this -> moduleKey , 'routePrefix' => $ this -> routePrefix , 'permissionPrefix' => $ this -> permissionPrefix , 'model' => $ this -> modelInformation , 'record' => $ record , 'recordReference' => $ this -> getReferenceRepository ( ) -> getReferenceForModel ( $ record ) , 'fieldStrategies' => $ this -> renderedShowFieldStrategies ( $ record ) , 'hasActiveListParent' => ( bool ) $ this -> listParentRelation , 'topListParentOnly' => $ this -> showsTopParentsOnly ( ) , 'listParents' => $ this -> listParents , ] ) ; }
docstring: Displays a single record.
  
  @param mixed $id
  @return mixed
docstring_tokens: Displays a single record .