code: public function render(array $data = null): string
      {
          $this->init($data ?? []);
  
          return trim($this->make(static::LAYOUT_NAME)) . PHP_EOL;
      }
docs: Renders a content.
  
  @param array $data The data.
  
  @return string Rendered content.