original_string: public function title(string $title = null): Htmlable
      {
          $page = Paginator::resolveCurrentPage();
  
          $data = [
              'site' => ['name' => $this->site],
              'page' => ['title' => $title, 'number' => $page],
          ];
  
          $data['site']['name'] = $this->getHtmlTitleFormatForSite($data);
  
          $output = $this->getHtmlTitleFormatForPage($data);
  
          return $this->html->create('title', trim($output));
      }
code: public function title(string $title = null): Htmlable
      {
          $page = Paginator::resolveCurrentPage();
  
          $data = [
              'site' => ['name' => $this->site],
              'page' => ['title' => $title, 'number' => $page],
          ];
  
          $data['site']['name'] = $this->getHtmlTitleFormatForSite($data);
  
          $output = $this->getHtmlTitleFormatForPage($data);
  
          return $this->html->create('title', trim($output));
      }
code_tokens: public function title ( string $ title = null ) : Htmlable { $ page = Paginator :: resolveCurrentPage ( ) ; $ data = [ 'site' => [ 'name' => $ this -> site ] , 'page' => [ 'title' => $ title , 'number' => $ page ] , ] ; $ data [ 'site' ] [ 'name' ] = $ this -> getHtmlTitleFormatForSite ( $ data ) ; $ output = $ this -> getHtmlTitleFormatForPage ( $ data ) ; return $ this -> html -> create ( 'title' , trim ( $ output ) ) ; }
docstring: Create the title.
  
  @param  string|null  $title
  
  @return \Illuminate\Contracts\Support\Htmlable
docstring_tokens: Create the title .