original_string: public function transform($route)
      {
          $route = $this->entityToArray(Route::class, $route);
          return [
              'id'        => (int) $route['id'],
              'createdAt' => $route['created_at'],
              'updatedAt' => $route['updated_at']
          ];
      }
code: public function transform($route)
      {
          $route = $this->entityToArray(Route::class, $route);
          return [
              'id'        => (int) $route['id'],
              'createdAt' => $route['created_at'],
              'updatedAt' => $route['updated_at']
          ];
      }
code_tokens: public function transform ( $ route ) { $ route = $ this -> entityToArray ( Route :: class , $ route ) ; return [ 'id' => ( int ) $ route [ 'id' ] , 'createdAt' => $ route [ 'created_at' ] , 'updatedAt' => $ route [ 'updated_at' ] ] ; }
docstring: Transforms route entity
  
  @param Route|array $route route entity
  
  @return array
docstring_tokens: Transforms route entity