protected function firtsText(string $postContent): string { $explotion = explode("<h2>", $postContent); $firstText = $explotion[0]; return $explotion[0]; }